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

[Draft] Proposal for V2.0 #4

Open
0xsirsaif opened this issue Oct 12, 2023 · 0 comments
Open

[Draft] Proposal for V2.0 #4

0xsirsaif opened this issue Oct 12, 2023 · 0 comments

Comments

@0xsirsaif
Copy link
Owner

  1. Run Tests in a Specific test Site:
    In version 2.0, we aim to enhance the testing experience by introducing the ability to specify a target "test" site for running tests. This feature ensures that tests are executed within a dedicated environment, isolated from production data, minimizing unintended side effects. Use --test-site option. --site will be deprecated
  2. Improved Test File Organization:
    We propose organizing all test files within a dedicated tests/ directory. This streamlined approach simplifies test file management, making it more straightforward to locate, manage, and maintain tests, while also contributing to a cleaner project structure.
  3. Introduce --doctype Option:
    The addition of the --doctype option will empower developers to execute tests for a specific doctype, allowing for more granular and focused testing of particular components of the application.
  4. Introduce --app Option:
    In response to the multifaceted nature of Frappe applications, we propose an extension of the --app option. This feature allows developers to select a specific app for testing, making it easier to target testing efforts within a complex, multi-app environment.
  5. Introduce --module Option:
    With the --module option, developers can direct testing efforts towards specific modules or features. This fine-grained control simplifies the identification of issues and supports focused testing.
  6. Implement the skip-test-records Flag:
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