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

Implement Unit Tests for Medieval Factions Using MockBukkit #1818

Open
dmccoystephenson opened this issue Jan 23, 2025 · 0 comments
Open

Implement Unit Tests for Medieval Factions Using MockBukkit #1818

dmccoystephenson opened this issue Jan 23, 2025 · 0 comments

Comments

@dmccoystephenson
Copy link
Member

Goal

Set up a robust unit testing environment for the Medieval Factions plugin using MockBukkit. This will enable testing of core functionality, including player faction applications, without requiring a live Minecraft server.

Acceptance Criteria:

  1. MockBukkit is successfully integrated into the project as a test dependency.
  2. Unit tests are implemented to simulate a player submitting an application to join a faction.
  3. Tests cover the following scenarios:
    • Successful application submission.
    • Failure due to invalid faction name.
    • Failure due to missing application data.
  4. Tests run successfully using the JUnit test runner without requiring a live server.
  5. Documentation is updated to include setup instructions for running tests.
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

No branches or pull requests

1 participant