Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Add tests #56

Open
uniqueg opened this issue Nov 19, 2019 · 4 comments
Open

Add tests #56

uniqueg opened this issue Nov 19, 2019 · 4 comments
Labels
flag: good 1st issue Good for newcomers priority: medium Medium priority type flag: meta Generic issue that will spawn more specific issues type: testing Related to code testing

Comments

@uniqueg
Copy link
Member

uniqueg commented Nov 19, 2019

Description

  • Write unit tests for every module
  • Write integration tests for
    • accessibility of the app
    • availability and functionality of all its required external services (database, broker, worker)
    • availability and functionality of any internal services (error handler, authorization, logging, monitoring)
    • availability and functionality of all endpoints and all associated responses
    • entire use cases

Examples

pytest: https://github.com/elixir-europe/TEStribute/tree/dev/tests

Additional context

This is a "meta" issue, please leave it open and do not assign yourself to it. Instead, please open up a new issue for any one particular test that you wish to implement and assign yourself for that issue. Make sure that the issue starts with the name "Test" and some descriptive label, e.g., the name of the module for which tests are written.

The goal is a (near) 100% code coverage. Issue will be closed once that is reached.

@uniqueg uniqueg added flag: good 1st issue Good for newcomers priority: medium Medium priority type flag: meta Generic issue that will spawn more specific issues type: testing Related to code testing workload: days Likely takes days to resolve workload: weeks Likely takes weeks to resolve and removed workload: days Likely takes days to resolve workload: weeks Likely takes weeks to resolve labels Feb 23, 2020
@vivekrj0
Copy link
Member

vivekrj0 commented Mar 1, 2020

I want to work on this issue for the entire test cases. Separately I will open individual issues for each module.

@uniqueg
Copy link
Member Author

uniqueg commented Mar 2, 2020

That's fantastic @vivekrj0! I've sent you an invitation to join our GitHub org and put you on our open source contributors team. With that you should have all permissions to clone the project, create feature branches, push them and file PRs. Have a look also at the welcome page in the elixir-cloud-aai/elixir-cloud-aai repo for further info. There is a badge linking to our Slack chat - would be great if you joined that as it's the easiest way to communicate regarding technical questions.

@vivekrj0
Copy link
Member

vivekrj0 commented Mar 7, 2020

Currently I am running the following tests :
https://github.com/elixir-europe/TEStribute/tree/dev/tests
and found many of the test are failed instead we are giving the correct values to the functions.
what are the reasons of failing.?

@uniqueg
Copy link
Member Author

uniqueg commented Mar 7, 2020

Can you give some more info? Which tests fail and with what errors? Did you install all dependencies? And what OS are you on? Because the available tests run fine for me...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flag: good 1st issue Good for newcomers priority: medium Medium priority type flag: meta Generic issue that will spawn more specific issues type: testing Related to code testing
Projects
None yet
Development

No branches or pull requests

2 participants