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

Build Testing #17

Closed
10 tasks done
lopezjuanma96 opened this issue Nov 15, 2022 · 1 comment
Closed
10 tasks done

Build Testing #17

lopezjuanma96 opened this issue Nov 15, 2022 · 1 comment

Comments

@lopezjuanma96
Copy link
Contributor

lopezjuanma96 commented Nov 15, 2022

Context
Once we start getting collaborations we need a way to test the improvements on the Service.

Causes/Justification
It's important to have a test coverage percentage to follow the development of the API.

Solution Alternatives

  • Build mocha environment
  • Structure Test for Prepare
  • Structure Test for Parse
  • Structure Test for Handle
  • Structure Test for Realise
  • Add Assertions with chai
  • Add HTTP tests with supertest to each endpoint
  • Added test reporter with mochawesome
  • Added test coverage functionality with istambul

Repercussions

  • Add a sample db that can be run on tests without the firebase key
lopezjuanma96 added a commit that referenced this issue Nov 15, 2022
adapted get app method for testing
defined test for prepares
@lopezjuanma96
Copy link
Contributor Author

forgot to link commit b1ba63a

lopezjuanma96 added a commit that referenced this issue Nov 15, 2022
lopezjuanma96 added a commit that referenced this issue Nov 15, 2022
done handler tests for VERB handlers
changed getDbRef to getApp, more accurate
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
joined all test into one for coverage to work better
added istambul package
added istambul command with html and text report
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added handleSUBJ test
added handleNOUN test
added handleADJ test
added handleADV test
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added test for parseDependencies
added test for handleSentence
added test for realiseSentence
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
using supertest
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
deleted acknowledgements from README
deleted Sponsors from README
deleted Legal & Licences from README
completed test command (#17)
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
adapted get app method for testing
defined test for prepares
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
done handler tests for VERB handlers
changed getDbRef to getApp, more accurate
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
joined all test into one for coverage to work better
added istambul package
added istambul command with html and text report
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added handleSUBJ test
added handleNOUN test
added handleADJ test
added handleADV test
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added test for parseDependencies
added test for handleSentence
added test for realiseSentence
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
using supertest
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
deleted acknowledgements from README
deleted Sponsors from README
deleted Legal & Licences from README
completed test command (#17)
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
adapted get app method for testing
defined test for prepares
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
done handler tests for VERB handlers
changed getDbRef to getApp, more accurate
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
joined all test into one for coverage to work better
added istambul package
added istambul command with html and text report
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added handleSUBJ test
added handleNOUN test
added handleADJ test
added handleADV test
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
added test for parseDependencies
added test for handleSentence
added test for realiseSentence
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
using supertest
lopezjuanma96 added a commit that referenced this issue Nov 16, 2022
deleted acknowledgements from README
deleted Sponsors from README
deleted Legal & Licences from README
completed test command (#17)
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