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

[META] Test Suites #2

Open
daviddahl opened this issue Oct 11, 2018 · 4 comments
Open

[META] Test Suites #2

daviddahl opened this issue Oct 11, 2018 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@daviddahl
Copy link
Contributor

There is a test for signature verification in test/index.js, but a full on test suite needs to be created at least for the code in src/index.js

@cdeng001
Copy link
Contributor

what do you think about https://jestjs.io/ ?

@daviddahl
Copy link
Contributor Author

daviddahl commented Oct 11, 2018

I like jest, but I was thinking of using the standard karma / mocha set up as is used in all of the IPFS repos.

Also, this looks cool: https://github.com/ipfs/aegir

@cdeng001
Copy link
Contributor

ahh I see, I agree, the testing should stay consistent.

@daviddahl daviddahl self-assigned this Oct 27, 2018
@daviddahl daviddahl added the help wanted Extra attention is needed label Oct 27, 2018
@daviddahl
Copy link
Contributor Author

daviddahl commented Oct 27, 2018

Now that clearer sub modules and APIs have been formed these are the test suites needed:

src/

  • db.js
  • proofs-db.js
  • remote-proofs.js
  • ipfs.js
  • proof.js
  • crypto.js
  • identity.js
  • utils.js

client/ REFACTOR in progress

  • TBD

client E2E test suite (a'la pupperteer)

  • Puppeteer test suit to test all of the front end

@daviddahl daviddahl changed the title test suite [META] Test Suites Nov 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants