Mark Juchems
2018-09-17 13:11:28 UTC
New to Cucumber and think it's great.
I work for a Large Yellow tractor company in our Telematics group. We get
messages from tractors and they process through our system (Storm) and then
end up on a database/REST service. This can take over a minute or so. We
also have a lot of tests. Currently we run each test individually, but, as
you can imagine, the tests take forever. We have 1200 tests now and each
must wait for the message to process. (1200 X 1 minute = way too long).
We have a large system and we want to use Cucumber, but we need to:
1. Add data to a queue
2. Wait 60 seconds (or more)
3. Run the test.
We cannot use Cucumber because there is no "stage" phase. We have
researched parallel tests but this seems to be unstable AND we frankly just
have too much stuff going on (1200 tests?). I have a system using Junit 4
(we are using Java) using @BeforeClass and a method that goes through and
runs any method with a certain annotation (@Stager) This works great but
it cannot work with Cucumber.
*What I want is a way to run ALL the "Given" methods first, then wait, then
run the rest.*
I don't think we need any parallelism. The data is staged fast and the
tests themselves are fast. I have not found anything on the web and was
wondering if anyone has come across a tool that would do this, or direct me
to "hacking" Cucumber to do this. (BTW, this seems to be a common problem.
I have found a few other posts with this request. The JUnit 5 guys are
actually working on something but who knows?)
Any help from the gurus? Maybe a @RunWith(CucumberStage.class)?
I work for a Large Yellow tractor company in our Telematics group. We get
messages from tractors and they process through our system (Storm) and then
end up on a database/REST service. This can take over a minute or so. We
also have a lot of tests. Currently we run each test individually, but, as
you can imagine, the tests take forever. We have 1200 tests now and each
must wait for the message to process. (1200 X 1 minute = way too long).
We have a large system and we want to use Cucumber, but we need to:
1. Add data to a queue
2. Wait 60 seconds (or more)
3. Run the test.
We cannot use Cucumber because there is no "stage" phase. We have
researched parallel tests but this seems to be unstable AND we frankly just
have too much stuff going on (1200 tests?). I have a system using Junit 4
(we are using Java) using @BeforeClass and a method that goes through and
runs any method with a certain annotation (@Stager) This works great but
it cannot work with Cucumber.
*What I want is a way to run ALL the "Given" methods first, then wait, then
run the rest.*
I don't think we need any parallelism. The data is staged fast and the
tests themselves are fast. I have not found anything on the web and was
wondering if anyone has come across a tool that would do this, or direct me
to "hacking" Cucumber to do this. (BTW, this seems to be a common problem.
I have found a few other posts with this request. The JUnit 5 guys are
actually working on something but who knows?)
Any help from the gurus? Maybe a @RunWith(CucumberStage.class)?
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.