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

SPIKE Behat test improvements #260

Open
sabina-talipova opened this issue Feb 7, 2024 · 0 comments
Open

SPIKE Behat test improvements #260

sabina-talipova opened this issue Feb 7, 2024 · 0 comments

Comments

@sabina-talipova
Copy link

Description

It is necessary to consider possible improvements that need to be made in order to be able to run behavioral tests (only where required) in supported modules without being tied to other modules that may not be required for the operation of the module under test.

  • First, it is necessary to collect all test methods in one module if they can be useful for testing other supported modules.
  • Secondly, a problem was identified when using Mock classes that implement the TestOnly interface in Behat tests. Most likely, these classes are ignored when creating database tables, making it impossible to test complex relationships between classes.
  • Thirdly, there are many similar steps in Behat tests, such as I see \ I should see, I click on the \ I click 'smth' in the 'something'. The possibility of unifying some similar test steps should be explored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant