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

Added an indirection level to allow tests to specify different configs #1955

Closed
wants to merge 1 commit into from
Closed

Added an indirection level to allow tests to specify different configs #1955

wants to merge 1 commit into from

Conversation

GioVAX
Copy link
Contributor

@GioVAX GioVAX commented Sep 6, 2020

I added a variable in Constants to be used from tests code.
So we can avoid re-using our gaming environments to do debugging and running tests.

For an example of usage, see https://github.com/GioVAX/EDDI/blob/1781-Part2/Tests/MainWindowResponderTests.cs#L17

@Tkael Tkael added the 10. work unit (user unaffected) A job that needs to be done but which doesn't affect the user. label Sep 7, 2020
@richardbuckle richardbuckle added the needs thought For when you need to slow down and consider things. label Sep 7, 2020
@richardbuckle
Copy link
Member

Added "Needs thought" while we discuss in Discord.

@Tkael
Copy link
Member

Tkael commented Sep 22, 2020

Confirmed that Hooda's branch includes a basic config service. Still a ways to go in refining it before it'll be ready for release, but that refinement could very probably include something like this.

Copy link
Member

@Tkael Tkael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will work for me until we have a robust configuration management service.

@Tkael
Copy link
Member

Tkael commented Nov 11, 2020

Note: This is also incorporated into #1996. If #1996 is merged, this PR is no longer needed.

@Tkael Tkael added on hold and removed needs thought For when you need to slow down and consider things. labels Nov 13, 2020
@richardbuckle
Copy link
Member

I don't think this is a good way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10. work unit (user unaffected) A job that needs to be done but which doesn't affect the user. on hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants