Skip to content

Conversation

@wiktor-obrebski
Copy link
Contributor

@wiktor-obrebski wiktor-obrebski commented Feb 16, 2025

Add tests for notes overlay and for gui/notes script.

@wiktor-obrebski wiktor-obrebski force-pushed the tests/notes-overlay branch 6 times, most recently from 84f0abd to c7d0937 Compare February 23, 2025 08:34
@wiktor-obrebski wiktor-obrebski marked this pull request as ready for review March 1, 2025 05:43
@github-project-automation github-project-automation bot moved this from Todo to Review In Progress in 51.06-r2 Mar 2, 2025
config = {
target = 'notes',
mode = 'fortress'
}
Copy link
Member

Choose a reason for hiding this comment

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

you can automatically run test setup and cleanup by defining config.wrapper. Example: test/assign-minecarts.lua or test/plugins/orders.lua

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I feel such helpers only make the code harder to understand, I prefer explicit definition for setup and cleanup per test.

@myk002 myk002 merged commit dcd3612 into DFHack:master Mar 6, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in 51.06-r2 Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants