Comments (7)
@btford I'm trying to set up initial tests 14bb413 but I'm having trouble wiring things together I believe because of the order in which bootstrapping occurs? Any advice? Should I be focusing on E2E tests instead?
from angular-hint.
We talked in-person, but for posterity: individual modules should have unit tests, this repo should have mostly (maybe entirely) E2E tests.
from angular-hint.
This is resolved now, right?
from angular-hint.
@ealtenho can we run some very simple E2E tests with protractor?
from angular-hint.
Yes @btford in the commit e1e7cdb I just pushed I added basic protractor tests . I think these tests will be much less irregular when angularHintLog creates similarly formatted output for all modules (currently some use console.log, some console.group, some console.groupCollapsed).
I am also having a strange issue with my ng-hint default test (commented out in this commit). When I run protractor it does not seem to resolve the route for /allHint.
What is the next step to get continuous tests running?
from angular-hint.
Update: e2e tests in /e2e cover all variations of loading modules with ng-hint-include
, ng-hint-exclude
, ng-hint
or no hinting at all.
We also plan to have a sample application that demonstrates the behavior of AngularHint in an application context.
from angular-hint.
There are now passing e2e tests that test the default logging of AngularHint to the console from each of the AngularHint modules. Additionally, the sample applications example
and correctExample
showcase the function of AngularHint in a realistic setting. This uncovered the bugs described in #36.
from angular-hint.
Related Issues (20)
- RFC: Improving hints related to $parse HOT 1
- causing infinite digests on angular material wesbite
- $watch override makes one-time bindings in expressions to never clear the associated watch HOT 2
- Incorrectly reports digest time HOT 2
- TypeError: Cannot read property 'name' of undefined at module.exports HOT 15
- Error when loading angular-hint with requirejs HOT 7
- Validate directive / component definition HOT 1
- Script Error in requirejs environment, cannot load angular-hint. HOT 2
- Not seeing any warning /Error on console.
- Log / Warn for naming collisions in registerables (directives, controllers, filters etc.)
- hint.js giving error, Cannot read property 'name' of undefined HOT 2
- A semicolon error
- dist angular-hint.js file to be used without requirejs? HOT 7
- NPM install fails HOT 1
- Reconsidering bower? HOT 4
- humanReadableWatchExpression error on app load HOT 2
- Why controllers, dom and directives not working? HOT 1
- "$event is undefined"
- Unexpected end of expression when using 'angular-ui-bootstrap' HOT 4
- A bower-angular-hint would be nice HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-hint.