Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nfontrod
nextflow
Commits
8f9a3e6d
Verified
Commit
8f9a3e6d
authored
6 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
README.md: add tests section
parent
aac63da9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+16
-16
16 additions, 16 deletions
README.md
with
16 additions
and
16 deletions
README.md
+
16
−
16
View file @
8f9a3e6d
...
...
@@ -40,33 +40,33 @@ for example to initialise `file_handle` version `0.1.1`, run:
src/nf_modules/file_handle/0.1.1/docker_init.sh
```
To initialise all the tools:
```
sh
find src/nf_modules/
-name
"docker_init.sh"
|
awk
'{system($0)}'
```
## Running the tests
To run tests we first need to get a trainning set
```
sh
cd
data
git clone
-c
http.sslVerify
=
false
https://gitlab.biologie.ens-lyon.fr/LBMC/tiny_dataset.git
cp
data/
tiny_dataset/fastq/tiny_R1.fastq
data/
tiny_dataset/fastq/tiny2_R1.fastq
cp
data/
tiny_dataset/fastq/tiny_R2.fastq
data/
tiny_dataset/fastq/tiny2_R2.fastq
cp
data/
tiny_dataset/fastq/tiny_S.fastq
data/
tiny_dataset/fastq/tiny2_S.fastq
nextflow src/nf_test.nf
-c
src/nf_test.config
--fastq
"data/tiny_dataset/fastq/tiny_R{1,2}.fastq"
cp
tiny_dataset/fastq/tiny_R1.fastq tiny_dataset/fastq/tiny2_R1.fastq
cp
tiny_dataset/fastq/tiny_R2.fastq tiny_dataset/fastq/tiny2_R2.fastq
cp
tiny_dataset/fastq/tiny_S.fastq tiny_dataset/fastq/tiny2_S.fastq
cd
..
```
Explain how to run the automated tests for this system
### Break down into end to end tests
Explain what these tests test and why
Then to run the tests for a given tools run the following command:
```
sh
src/nf_modules/<tool_name>/<tool_version>/tests/tests.sh
```
Give an example
```
### And coding style tests
Explain what
the
se
tests
test and why
for example to run
the tests
on
`Bowtie2`
run:
```
Give an example
```
sh
src/nf_modules/Bowtie2/tests/tests.sh
```
## Contributing
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment