Skip to content

Run code from Python files#381

Merged
hermansje merged 13 commits intomasterfrom
jh/run-python-files
Jun 21, 2019
Merged

Run code from Python files#381
hermansje merged 13 commits intomasterfrom
jh/run-python-files

Conversation

@hermansje
Copy link
Copy Markdown
Member

Executing Python files on the file system opens up a lot more SCT capabilities.
Function chain to use this: check_file().run().has_equal_value()
There are some tests showing how it can be used.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2019

Codecov Report

Merging #381 into master will decrease coverage by 0.52%.
The diff coverage is 90.6%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #381      +/-   ##
==========================================
- Coverage    94.6%   94.08%   -0.53%     
==========================================
  Files          26       26              
  Lines        1984     2097     +113     
==========================================
+ Hits         1877     1973      +96     
- Misses        107      124      +17
Impacted Files Coverage Δ
pythonwhat/checks/has_funcs.py 96.17% <100%> (ø) ⬆️
pythonwhat/checks/check_wrappers.py 100% <100%> (ø) ⬆️
pythonwhat/State.py 93.42% <100%> (-1.14%) ⬇️
pythonwhat/sct_syntax.py 100% <100%> (ø) ⬆️
pythonwhat/test_exercise.py 97.5% <100%> (+0.53%) ⬆️
pythonwhat/checks/check_object.py 100% <100%> (ø) ⬆️
pythonwhat/local.py 89.28% <88.8%> (-10.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1140abb...9f6935e. Read the comment docs.

@hermansje hermansje force-pushed the jh/run-python-files branch from bd3de06 to 8b08c37 Compare June 14, 2019 12:42
@hermansje hermansje changed the title [WIP] run code from Python files Run code from Python files Jun 14, 2019
@hermansje hermansje requested review from TimSangster and vvnkr June 14, 2019 15:28
Comment thread pythonwhat/State.py Outdated
Comment thread pythonwhat/local.py Outdated
Comment thread pythonwhat/local.py Outdated
Comment thread pythonwhat/local.py Outdated
Comment thread pythonwhat/local.py
@hermansje hermansje requested a review from vvnkr June 20, 2019 11:51
@hermansje hermansje force-pushed the jh/run-python-files branch from d8dd0a2 to fedc0ce Compare June 21, 2019 13:49
@hermansje hermansje force-pushed the jh/run-python-files branch from fedc0ce to 9f6935e Compare June 21, 2019 14:10
@hermansje hermansje merged commit 42be017 into master Jun 21, 2019
@hermansje hermansje deleted the jh/run-python-files branch November 20, 2019 03:50
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.

2 participants