Code Monkey home page Code Monkey logo

Comments (7)

ealtenho avatar ealtenho commented on May 5, 2024

@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.

btford avatar btford commented on May 5, 2024

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.

btford avatar btford commented on May 5, 2024

This is resolved now, right?

from angular-hint.

btford avatar btford commented on May 5, 2024

@ealtenho can we run some very simple E2E tests with protractor?

from angular-hint.

ealtenho avatar ealtenho commented on May 5, 2024

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.

ealtenho avatar ealtenho commented on May 5, 2024

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.

ealtenho avatar ealtenho commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.