-
Notifications
You must be signed in to change notification settings - Fork 293
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
v4.0 plan #576
Comments
@distante I think it is a great idea, but not sure if we can squeeze it in v4, as it already has a lot of changes... feel free to submit it as a separate feature request and hopefully we can get to it soon after v4. |
I missed to start the discussion as part of #583, but taking into account https://www.reddit.com/r/javascript/comments/c8drjo/nobody_talks_about_the_real_reason_to_use_tabs/, what's your point of view on using tabs over spaces? |
hello, v4.0.0-alpha.0 is available for early testing now. This release contains coverage and test status matching improvement. Feel free to give it a spin and let us know if you see any issue. |
@stephtr regarding tab vs space... it's a valid point but clearly comes with trade-off... given our contributor community is relatively small (unlike our user community) and I haven't heard about tab/space complaint, so my gut feeling is not to change it now until we bumped into an actual issue... |
Is there any chance I can get #625 in the next release (assuming 4.0 is the next)?
Given the above, let me know if there are any tasks outstanding for this release and I might be able to take a look at them. |
I've been using the 4.0 release for about a month now and all around it seems to be much more reliable. Moving the status indicators in particular has helped a lot. Thank you! |
v4.0.0-alpha.3 is released today. The main change is to support the parameterized tests. If your project uses parameterized tests, feel free to give this release a try. |
This is looking great so far. The coverage issues all seem resolved. Moving the indicator into the gutter took a bit of getting used to, but now I'm loving it and it is much more reliable. Great job all. |
v4.0.0-alpha.5 is released today and we are finally feature-complete for v4. This is probably the one with the most changes among all alpha releases, i.e. it needs more testing, especially for windows environments... If you are interested in non-watchman-driven testing or simply want to control when to run your tests, please feel free to give the latest release a try and let us know how it works for you. |
@connectdotz I've been trialing this today on our very large repo (~500 test suites, ~1500 tests) and it works really well! I've been having issues with
does not trigger test runs for me. I can file a separate issue if needed. |
hey @Talor-A thanks for trying out the new release, glad it helped your project. Regarding the
we could enhance the pattern recognition later, but right now it requires explicit "watch" property. |
It is looking good to me so far. The wizard did not pick up my |
@markcarroll thanks for testing the latest version.
That's odd... do you also have |
Just tried this and it did work but still seemed to have the issue of running many tests for one changed source file. Curious if you have docs on how test files are linked to "related" source files or vice versa? I'm guessing this is more of an issue with our large repo than with the jest extension itself, though. And regardless running individual tests fixes the problem for me so I'm quite excited for the final 4.0! Thanks for all the hard work that's gone into this release! |
I only had the |
I suspected this could happen, as we did use jest to figure out the "related" tests, which most likely used the dependency tree. You could consider using the "jest.autoRun": {
"watch": false,
"onSave": "test-file"
} The downside is you will have to trigger the desired test file run by hand when only the src file changed, but that is what you are doing with the complete manual run anyway, so this approach kind of sitting in between. |
that explains it... yes the wizard considered this case as "unconfigured", so it will prompt you to enter the command you usually used. However, you should be able to type in Are you able to debug tests with the config generated by the wizard? |
Yes that is exactly what I put in there: |
We have not seen any issue regarding alpha-5 so far, but before we prmote it to marketplace, would like to know if anybody has run it on windows platform yet? |
Yeah, I think that's probably the right call 👍🏻 |
ok, it is live now... any future discussion regarding this release can be moved to release discussion #693 Big thanks to everyone who made this possible! |
Moving toward the next major (awesome) version:
enhancement
jest.pathToConfig
with users' input. (The meaning of the root path parameter #571, Using with create-react-app typescript? #244, Is there any way to make this extension run tests with runInBand parameter? #565, additional command line parameters #556, pathToJest is ignored when using inline "Debug" button #618 too many to list...) => [4.0] setup wizard #590 => setup wizard beta #655pathToJest
jest-editor-support#44 - RenamepathToJest
jest.jestCommandLine
into code base. (support the new jestCommandLine setting #644)it
s in differentdescribe
s with the same names always shown as a pending #484, green check marks missing after run on tests with duplicate names #570, Codelens for dynamic tests #491, Test state bullets in editor code lens stay in grey "unknown" state instead of turning green #597, No checkmark when test with same name exists in other describe block scope #648 => added a context-based matching algorithm #593 (available alpha.0)branch.end.column
value is sometimesnull
#524) and update really old 3rd party dependencies => [v4.0] coverage map #588 (available alpha.0)technical debt
release
v4.0.0-alpha.5 is the latest release and we are now finally feature-complete!
suggestion and discussion are welcome
The text was updated successfully, but these errors were encountered: