Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • alya-testsuite alya-testsuite
  • Project information
    • Project information
    • Activity
    • Members
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • alyaalya
  • alya-testsuitealya-testsuite
  • Wiki
  • Contribution workflow

Contribution workflow · Changes

Page history
Update Contribution workflow authored Jul 23, 2019 by Damien Dosimont's avatar Damien Dosimont
Hide whitespace changes
Inline Side-by-side
Contribution-workflow.md
View page @ 85145a28
If you develop new features in Alya, you should regularly add new tests to the testsuite to validate that such a feature works as expected, but also that nobody breaks this feature when contributing to Alya. We won't accept complaints from someone whose Alya features are not evaluated by the testsuite, because it is not reasonably possible to determine all the interweaving between Alya components and the impact of a modification on the whole code behavior without automatic testing. Nevertheless, regarding the developer, we don't validate either the following assertion: _because Alya passes the testsuite, my contribution is of good quality_. Any contribution should be thought, designed carefully without interfering with the normal behavior of Alya, and if possible mentioned to the design team through the issues.
# Add a new test
# Add a new test or modify an existing one
Tests are located to the following path:
```
svn co svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/Trunk
svn co svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/tests
```
```
svn co file:///gpfs/projects/bsc21/svnroot/AlyaTS/Trunk
```
\ No newline at end of file
svn co file:///gpfs/projects/bsc21/svnroot/AlyaTS/tests
```
However, you cannot contribute to this repository. So you will have to create a new branch as it follows:
```
svn copy svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/tests svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/branches/[mytests]
```
replacing `mytests` by the name you want.
If you already have your own tests branch, update it using the merge command:
```
svn update
svn merge svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/tests
svn commit
```
## Modify an existing test
Go to the test directory, and modify the test files and the test .json consequently.
Then, commit, and run a testsuite on your test branch to validate your changes. Once it's done, ask the admin to reintegrate your changes. The admin automatically receive the testsuite emails (if you run it on your machine) so you won't have to justify that it ran with success.
\ No newline at end of file
Clone repository
  • Home
  • User
    • Basic information
    • Execute the Testsuite
    • Analyze the results
  • Developer
    • Adding/modifying tests workflow