Skip to content

Chore/test improvement#100

Merged
boriel merged 11 commits intomasterfrom
chore/test_improvement
Oct 25, 2017
Merged

Chore/test improvement#100
boriel merged 11 commits intomasterfrom
chore/test_improvement

Conversation

@boriel
Copy link
Copy Markdown
Collaborator

@boriel boriel commented Oct 25, 2017

No description provided.

boriel added 11 commits October 18, 2017 21:02
add headerless mode

Approved-by: Jose Rodriguez <boriel@gmail.com>
This must be done every time the main() function is called.
The global OPTIONS container now allows any type
(None was not always possible) using the options.ANYTYPE
value as type_ parameter.
This adds test_basic, test_asm and test_prepro, which
are run by py.test (and tox), meaning every test
is now atomic and allows coverage analysis.
api.config.init() was not being called when
zxbasm was being invoked from the command line or with its
main() function. Fixed.
This allows py.test to detect it.
This allows to specify -- test_xxx in tox from the command line.
This is a momentanous workaround to avoid E722 and E741 (which
previously were only warnings).
This is done because most of the backend part is gonna be
refactored almost from scratch.
When creating temporary directories, py.test might fail
when scanning them as these directories are efimeral
and not for testing. So they're now excluded.

Also updates to python 3.6
@boriel boriel force-pushed the chore/test_improvement branch from 2595049 to 1531bce Compare October 25, 2017 16:47
@boriel boriel merged commit 5a92162 into master Oct 25, 2017
@boriel boriel deleted the chore/test_improvement branch October 25, 2017 16:55
bartsanchez pushed a commit to bartsanchez/zxbasic that referenced this pull request Nov 2, 2017
Feature/read data restore

Approved-by: Jose Rodriguez <boriel@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant