-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Suite #50
Comments
A lot of tests are now in place, yet more tests should be added for:
Possibly other things as well. |
I spent more time than I'd like to admit to try to make tests for feature flags. However, the way this library is set up, it feels really hard to do. I've gotten to a point where I think it's easier to refactor/rewrite parts of the library itself instead of trying to hack some tests onto it. To be continued... |
Note: some of the newer code is now easier to test thanks to using less mocking and more di/given2/jest: Examples:
That said, a lot of work still remains to be done here as well as introducing some sort of integration tests. |
There is now an integration test suite which tests some functionality with a real browser. @mariusandra will close this ticket for the moment as the original problem is solved. I think it's worth enforcing that new changes will have proper test coverage and we'll see what happens to the library. |
We need a proper test suite for this library, including tests for all the new features.
The text was updated successfully, but these errors were encountered: