-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
RunOnce doesn't seem to work #663
Comments
You are probably right that |
It was not really a single bug but many of them pilling up. I added many unit tests around this |
Probably I'm doing something wrong, but I cannot get the latest beta to work. Starting with |
Ok, will check tonight. Potentially something wrong in the packaging. |
Huuuum, I tried to download the framework and it's working fine on my side. |
I fixed the issue around Dynamitey in the version 1.0.23-beta.195 available here |
I'm trying to run several tests with a shared setup that only needs to run once, before all tests (as the tests don't change the data). According to the docs, I can write something like this:
While the setup is executed, it looks to me like the
run-once
is ignored - the setup is run once for every test!To find out whether I used the tag wrong, I had a look at the actual implementation. I think I found the problem, but I'm not really sure, so take the following with a large grain of salt:
In
TestSuite.cs
, the check forRunOnce
looks like this:However,
command
is aIGroupCommandArgs
, so it cannot be aIGroupCommand
. Additionally,IGroupCommandArgs
does not have aRunOnce
attribute.Update: I can't even find another reference to
IGroupCommand
:(Did I use
run-once
correctly? Is it working, or is my interpretation of the code correct?The text was updated successfully, but these errors were encountered: