Skip to content
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

Tests named 30 days are run over 30 days #497

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

ronheywood
Copy link

Pull request attending to a possible regression in the behavior of the Approval tests in DotNet
introduced after
e188fae#diff-5e77a617e97d9e66a013c079bfbdb3eb0987e563b1a92aa74c2d0349bc88bb59

The Main program, used by the approval tests has a default number of Days set to 2 to support the texttests command line approval test - which is being updated to be a ubiquitous approval test adapter for any language

The tests in the DotNet targeted solutions are named ThirtyDays.
Since they do not provide an override for the number of days, they are currently only running the business logic for 2 days.
(I believe that this means that the approval tests do not demonstrate the rule that the back stage pass quality is set to zero after sell in expires - the first instance of this condition seems to occur on day 6)

Given the tests were historically named ThrityDays, and were run over ThirtyDays, I would describe this as a regression.

This pull request adds the required parameter to the program to restore ThirtyDays for dotnet

Other languages that may also be affected this are Java and FSharp, but they are not included in this pull request

@emilybache emilybache merged commit 7d758b5 into emilybache:main Nov 28, 2023
1 check passed
@emilybache
Copy link
Owner

Thankyou!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants