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
Dependent test #774
Comments
Do you mean the |
Hello, yes exactly, same mechanics as dependsOnMethods or dependsOnGroups. The main goal here is to avoid runing some tests (potentialy costly) when we know that they will fall anyway because the system is in shambles :) |
Seems like a good idea. The annotation based syntax won't work for kotlintest though, perhaps as part of the test config.
or |
Yes it would be perfect. |
Happy for you to create a PR.
…On Tue, 21 May 2019 at 23:50, master-bytes-krafter ***@***.***> wrote:
Yes it would be perfect.
Now, how do yo want to proceed ? do you want me to contribute and create a
PR/MR to kotlintest ? or is it something you are interested to implement by
yourself ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#774>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFVSGQXDQTNR3QN6OA3GQDPWTGJ5ANCNFSM4HOENM2Q>
.
|
Will gladly do
|
Hello all, |
We are lightning fast :p
…On Fri, 7 Jun 2019 at 13:20, master-bytes-krafter ***@***.***> wrote:
Hello all,
FYI I started working on the implementation of this feature. One question,
how fast you guys check and integrate pull request ?
Regards
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#774>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFVSGTECNSUT33MR7EQT23PZKRHZANCNFSM4HOENM2Q>
.
|
If we have something workable we can target 3.4 for this. |
After testing for two days here are my thoughts:
What do you think ? Maybe this feature can be rewritten to : add a way to specify if a test can be skipped dynamically on runtime (passing a function returning a boolean in test configuration ?) |
We recently added a way to skip tests in runtime, by throwing the It's pending release, but you can use the snapshot if needed for the moment |
@master-bytes-krafter you can use a |
@Kerooker this is a must have for 4.0 IMO. |
Hello, sorry for the delay, FYI we found a very convenient way to do this with the current version of kotlintest. Sure it relies on ordering files and tests in certain order and requires to write a little bit of code (30 or so lines approximately), but we can live with it for now. |
Marking as won't fix. |
Any plans for this feature? |
Hello
Do you propose an idiomatic way to write test/groups of tests that depend on the outcome of other tests (i.e pointless to run if some other test failed) ?
This is particularly interesting to test some scenarios during integration testing and some testing frameworks provide this feature (e.g: TestNG)
Regards
The text was updated successfully, but these errors were encountered: