View Issue Details

IDProjectCategoryView StatusLast Update
0005045Talerobsolete componentpublic2017-10-18 13:42
ReporterMarcello Stanisci Assigned ToMarcello Stanisci 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.4Fixed in Version0.4 
Summary0005045: Fault-injected testcases
DescriptionMerge the 'faultytest' branch, which takes care of running testcases against broken envs, like malformed config files, mismatching currencies, etc., into 'master'.

TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2017-07-12 10:57

reporter   ~0012329

Last edited: 2017-07-12 12:44

This issue has been solved (e9bb1a6). However, tests run against a non existent database still pass.....

UPDATE: it makes little sense to launch tests against a non existent database, as tests always create a fresh database (named test_WHATEVERNAME).

Marcello Stanisci

2017-07-12 11:17

reporter   ~0012330

Last edited: 2017-07-12 11:18

Although there is now only one source file for tests, another one is needed: in order to test badly written config files.

Such config files cannot be fed to the current test source, as it would break (*) everything.

(*) not breaking the bank, but the test logic itself.

Marcello Stanisci

2017-07-13 10:19

reporter   ~0012332

Alternative tests_alt.py added @ 77d37fb. However there is the following issue regarding a missing option in the config:

If no CURRENCY option is given in config, the bank does NOT crash with a ConfigurationError exception, even if the value_string() method is called with the parameter required=True. In fact, logs show that 'required' turns to be False once the control reaches talerconfig.py.

Marcello Stanisci

2017-07-17 10:52

reporter   ~0012341

last issue solved @ 2683506

Issue History

Date ModifiedUsernameFieldChange
2017-05-29 13:18Marcello StanisciNew Issue
2017-05-29 13:18Marcello StanisciStatusnew => assigned
2017-05-29 13:18Marcello StanisciAssigned To => Marcello Stanisci
2017-07-12 07:51Marcello StanisciTarget Version => 0.6
2017-07-12 07:51Marcello StanisciDescription Updated
2017-07-12 10:57Marcello StanisciNote Added: 0012329
2017-07-12 11:17Marcello StanisciNote Added: 0012330
2017-07-12 11:18Marcello StanisciNote Edited: 0012330
2017-07-12 12:43Marcello StanisciNote Edited: 0012329
2017-07-12 12:44Marcello StanisciNote Edited: 0012329
2017-07-13 10:19Marcello StanisciNote Added: 0012332
2017-07-17 10:52Marcello StanisciStatusassigned => informing
2017-07-17 10:52Marcello StanisciResolutionopen => fixed
2017-07-17 10:52Marcello StanisciNote Added: 0012341
2017-07-20 07:24Christian GrothoffProduct Version => git (master)
2017-07-20 07:24Christian GrothoffFixed in Version => 0.4
2017-07-20 07:24Christian GrothoffTarget Version0.6 => 0.4
2017-10-18 13:42Christian GrothoffStatusinforming => closed
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component