JITM: Add unit tests for JITM class#7027
Conversation
fcbdc23 to
cfcdacb
Compare
|
The tests seem to make sense. The biggest feedback I have is that I would break the tests up. For example,
While these are very similar, having separate tests might make it easier to grok and know what exactly is failing when a test fails. Same feedback for the other tests. |
|
@ebinnion: I thought about this too, but decided to focus on the rules of a specific view v.s. breaking it up. IOW, if a unit test fails, it fails that JITM, not a specific rule of the JITM. That seemed to be the most intuitive to write. However, I see your point from the view of: "I just wrote code, why did this break?" I agree that this makes more sense to break up into smaller tests, so I'll go ahead and do that. |
|
I added a testsuite for JITM unit tests so now you can do I found one issue when running the tests: |
|
IDK why, but I couldn't revert changes to yarn.lock properly. |
38e1926 to
aa32052
Compare
|
I've successfully reverted the |
* Changelog: initial commit for 4.9 release. * Changelog: add #6929 * Changelog: move old changelogs to changelog.txt * Readme: restore deleted release post link. The post is now live. * Changelog: add #6853 * Changelog: add #6856 * Changelog: add #6857 * Changelog: add #6884 * Changelog: add #6885 * Changelog: add #6892 * Changelog: add #6894 * Changelog: add #6898 * Changelog: add #6899 * Changelog: add #6900 * Changelog: add #6909 * Changelog: add #6927 * Changelog: add #6947 * Chagelog: add #6958 * Changelog: add #6961 * Changelog: add #6963 * Changelog: add #6965 * Changelog: add #6986 * Changelog: add #7000 * Changelog: add #7013 * Changelog: add #7015 * Changelog: add #7019 * Changelog: add #7028 * Changelog: add #6998 * Changelog: add #6999 * Changelog: add #7044 * Changelog: add #6881 * Changelog: add #6922 * Changelog: add #6940 * Changelog: add #6962 * Changelog: add #6942 * Changelog: add #6959 * Changelog: add #7018 * Changelog: add #6948 * Changelog: add #6657 * Changelog: add #7030 * Changelog: add #7048 * Changelog: add #7031 * Changelog: add #6990 * Changelog: add #6957 * Changelog: add #7027
Changes proposed in this Pull Request:
Testing instructions:
Proposed changelog entry for your changes:
Increase code coverage of unit tests