Nigel
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-de...@googlegroups.com.
To post to this group, send email to concord...@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion-dev.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/CAJifTyoNrf-Nhp6VpvC50QZmKv5AcNQmmQffYsQvcS%3DvD69%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
It's an interesting concept. Having an extension method provides a lot of flexibility. It does make it a compile-time rather than run-time option though. Any thoughts on how it might work if a user wanted to change at run-time? Are there scripting options that would allow this?
I quite like having a SKIPPED status. Rather than being unimplemented, expected to fail or expected to pass, you might just want to skip a test (eg. it takes too long, or isn't pertinent).
I agree with Tim, it would be great if it could also set Expected to Fail, Expected to Pass or Unimplemented. One request we had in the past was to add an expiry date onto Expected to Fail. This filter would allow that option if extended to support all implementation statuses.
There's a couple of other items in progress that may need to be merged/considered along with this change:
- PR#264 has some breaking API changes. I've been doing some exploratory work to clean this up further. If changing the API, it would make sense to change these together.
- Luke Pearson is working on an expected to fail info extension that adds text to describe why an example is expected to fail. If adding skipped examples, we should consider changing this extension to allow a description to be added to any implementation status. Would also be worth considering whether this becomes part of core, or stays as an extension? I quite like it as an extension since it opens up options for how you display/log the text.
Nigel
On 11/05/18 5:17 AM, Tim Wright wrote:
Just noticed this PR on our great software. It basically lets the user write code that selectively disable tests based on, well, anything. The use case I could think of is build step specific - in case some tests are unreliable or slow.Hey everyone,
I've reviewed it and think it's a good idea. But it could be even better - by letting the user have code that arbitrarily changes the implementation status.
Tim
--Tim021 251 5593
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-dev+unsubscribe@googlegroups.com.
To post to this group, send email to concordion-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion-dev.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/CAJifTyoNrf-Nhp6VpvC50QZmKv5AcNQmmQffYsQvcS%3DvD69%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-dev+unsubscribe@googlegroups.com.
To post to this group, send email to concordion-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion-dev.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/e74831ff-5502-cac1-b5f0-fbd507a8e6f3%40gmail.com.
To post to this group, send email to concord...@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion-dev.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/CAJifTyoNrf-Nhp6VpvC50QZmKv5AcNQmmQffYsQvcS%3DvD69%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-dev+unsubscribe@googlegroups.com.
To post to this group, send email to concord...@googlegroups.com.
The main use case and motivation was to allow concordion to hook into spring's profile mechanism where examples can be tagged with a param (e.g. spring-profile='smoke-test, all') and conditionally run them based on the active profile or similar purpose of @ifprofilevalue.
The semantic difference of Unimplemented/ExpectedToFail vs Ignored/Skipped is that the former refers to the state of the example while the latter refers to the result of the run. An example could be declared as Unimplemented/ExpectedToFail and still be ignored at runtime.
The semantic difference of Unimplemented/ExpectedToFail vs Ignored/Skipped is that the former refers to the state of the example while the latter refers to the result of the run.
...
I disagree that Unimplemented/ExpectedToFail should be override-able/set-able at runtime as these are the state of tests - is there a use case for them to change in between runs given the same version of test and system being tested?
...
To post to this group, send email to concor...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/YQBPR01MB0626ACCC2F34D770529D52EFF99D0%40YQBPR01MB0626.CANPRD01.PROD.OUTLOOK.COM.