View Issue Details

IDProjectCategoryView StatusLast Update
0004765Talerwallet (WebExtension)public2017-06-06 12:18
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytextReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.3Fixed in Version0.3 
Summary0004765: documentation for test harnesses missing
DescriptionThere should be documentation for
- how to write a new test case
- how to run test cases in the browser
- how to run test cases from node
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2017-05-28 20:44

manager   ~0012174

This now became trivial. We use AVA (https://github.com/avajs/ava) for testing. Tests are run by "make check". All "*-test.{ts,tsx}" files are considered unit tests.

We don't run tests inside the browser anymore, only for end-to-end tests we use selenium. This is common practice, since running things inside the browser is very slow and memory intensive, and the mocks available for NodeJS are good enough to catch errors.

Issue History

Date ModifiedUsernameFieldChange
2016-11-08 14:03Florian DoldNew Issue
2016-11-08 14:03Florian DoldStatusnew => assigned
2016-11-08 14:03Florian DoldAssigned To => Florian Dold
2016-11-15 14:53Christian GrothoffSeverityminor => text
2016-11-15 14:53Christian GrothoffProduct Version => git (master)
2016-11-15 14:53Christian GrothoffTarget Version => 0.3
2017-04-08 22:25Christian GrothoffTarget Version0.3 => 0.6
2017-05-28 20:44Florian DoldStatusassigned => informing
2017-05-28 20:44Florian DoldResolutionopen => fixed
2017-05-28 20:44Florian DoldNote Added: 0012174
2017-05-28 20:53Christian GrothoffFixed in Version => 0.3
2017-05-28 20:53Christian GrothoffTarget Version0.6 => 0.3
2017-06-06 12:18Christian GrothoffStatusinforming => closed
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)