Thomas Kriechbaumer
24725e94fa
fix coverage
2020-12-17 23:50:23 +01:00
Thomas Kriechbaumer
df164f42e1
imports cleanup
2020-12-14 23:52:48 +01:00
Thomas Kriechbaumer
d159897d98
nuke legacy protocol stack
2020-12-14 22:14:43 +01:00
Thomas Kriechbaumer
c35316f85a
remove pathod and pathoc
2020-12-13 20:21:11 +01:00
Maximilian Hils
641b1c425b
[sans-io] add mode tests, minor fixes
2020-12-12 21:24:21 +01:00
Maximilian Hils
efacbca0ca
[sans-io] add clientplayback tests
2020-12-12 21:24:21 +01:00
Maximilian Hils
997b496a68
update flake8 and mypy
2020-08-26 23:33:15 +02:00
Maximilian Hils
15270dfaf0
don't count overage for AssertionErrors
...
A common pattern in sans-io is to essentially match on all variants of
an enum, and then have a `else: raise AssertionError` in the end.
This increases robustness as we spot incomplete coverage instead of
silently passing. However, it makes no sense to explicitly test these
asserts.
2020-07-30 09:07:35 +02:00
Maximilian Hils
5af57cfa99
HTTPRequest -> http.Request, add request.authority
2020-07-16 16:55:15 +02:00
Maximilian Hils
3550bdfe00
Merge pull request #3693 from typoon/fix-command-bar-issue-3259
...
Improve Command Bar UX
2019-11-21 14:13:08 +01:00
Maximilian Hils
7bf06f8ae0
fix coverage
2019-11-18 05:19:06 +01:00
Maximilian Hils
ac22aee2f5
cleanup mypy usage
2019-11-16 15:14:30 +01:00
Maximilian Hils
be46008b5e
disable overly strict indentation checks
2019-11-15 15:56:55 +01:00
Maximilian Hils
902ef59d01
Move onboardingapp from tornado to flask ( #3661 )
2019-10-06 14:41:46 +02:00
Thomas Kriechbaumer
a54954ee1e
fix linting
2019-09-28 12:29:16 +02:00
Thomas Kriechbaumer
2fb2b48a06
bump dependencies
2018-12-02 15:48:20 +01:00
Pietro Francesco Tirenna
d5da74645b
protobuf: tests implemented, full coverage
2018-07-17 19:23:01 +02:00
Aldo Cortesi
bae4a3393f
release: include release directory in coverage
...
With lots of exclusions for now
2018-05-24 19:03:15 +12:00
Maximilian Hils
69726f180a
stateobject: use typing, enable tuples and more complex datatypes
2018-01-13 00:33:37 +01:00
Thomas Kriechbaumer
4a3702792c
ignore contrib type errors
2017-12-18 09:33:14 +01:00
Ujjwal Verma
5214f544e7
Use wsproto for websockets
2017-12-12 22:09:46 +01:00
Thomas Kriechbaumer
80a8eaa708
bump flake8
...
closes #2601
2017-10-31 10:58:38 +01:00
Maximilian Hils
930d78b554
Merge pull request #2537 from ujjwal96/content-view
...
JS beautifier
2017-09-04 19:49:42 +02:00
Maximilian Hils
ca91780ff4
do not fail CI for missing newlines
...
this regularly stalls pull requests and serves no further purpose,
so it needs to go.
2017-09-04 18:08:00 +02:00
Maximilian Hils
de006ea8ad
move hostname validation into mitmproxy.net.tls
2017-09-04 14:02:43 +02:00
Ujjwal Verma
4587b54aed
tests for Proxy config
2017-06-12 01:32:58 +05:30
Ujjwal Verma
19765f4eb9
Updated setup.cfg
2017-05-31 04:38:01 +05:30
Ujjwal Verma
bd8a869118
Tests for wbxml
2017-05-24 21:37:49 +05:30
Ujjwal Verma
5833b218b2
Increase net.tcp.py coverage ( #2336 )
2017-05-17 23:27:57 +08:00
Ujjwal Verma
208931021e
Updated setup.cfg
2017-05-17 11:26:18 +05:30
Ujjwal Verma
dc40fc4933
Changes in setup.cfg
2017-05-12 21:09:50 +05:30
Aldo Cortesi
a570caccbd
commands: view.load
...
Plus replace the flow list keybinding.
2017-04-30 22:02:29 +12:00
Aldo Cortesi
bcbe87bb09
Move export to addon, kill Python and Locust export
...
Also add a "raw" export format.
The Python and Locust exports are hard to maintain, their tests are extremely
brittle, they didn't have full test coverage, and are by my guess very rarely
used. I feel the Locust export should certainly be an externally maintained
addon. The Python/requests export can come back if someone cares enough, and it
can be structured in a way we can maintain.
2017-04-30 17:53:30 +12:00
Aldo Cortesi
65f0885bd6
addon loader: add boot_into, which replaces returning from start()
...
While we're here, expand test coverage for addonmanager to 100%, and promote to
individual coverage.
2017-03-25 10:48:12 +13:00
Aldo Cortesi
95d9ec88ac
tox: mypy checking for entire codebase
...
Also fix a few linting errors.
2017-03-22 10:29:46 +13:00
Thomas Kriechbaumer
6d228dfb9f
certs: coverage++
2017-02-26 20:54:04 +01:00
Thomas Kriechbaumer
9b6986ea87
connections: coverage++ ( #2064 )
2017-02-26 20:50:52 +01:00
Thomas Kriechbaumer
2aecffd39a
optmanager: coverage++ ( #2062 )
2017-02-25 12:12:43 +01:00
Thomas Kriechbaumer
ccd8e1e617
http: coverage++ ( #2060 )
2017-02-24 22:39:16 +01:00
Thomas Kriechbaumer
d17309eda8
flowfilter: coverage++
2017-02-24 18:47:56 +01:00
Thomas Kriechbaumer
36352c9539
protobuf: coverage++
2017-02-19 14:29:09 +01:00
Thomas Kriechbaumer
6b22ca7a32
add individual-coverage check
2017-02-16 11:43:45 +01:00
Thomas Kriechbaumer
24a51df9cb
extract full-coverage pytest plugin
2017-02-15 00:29:43 +01:00
Maximilian Hils
980a84326b
InstallBuilder ( #1826 )
2016-12-11 23:07:47 +01:00
Aldo Cortesi
ee67797c7e
test coverage: complete branch coverage is NOT a goal
...
Branch coverage means lots of duplication in tests to hit all cases, and I'm
not sure it's worth it. At any rate, let's aim for statement coverage first.
2016-11-02 10:54:08 +13:00
Maximilian Hils
bb5811beec
fix the linter, knuth ftw!
2016-10-25 22:19:43 -07:00
Aldo Cortesi
22eebfd574
addons.Addons -> addonmanager, builtins -> addons
2016-10-19 14:39:39 +13:00
Maximilian Hils
eeec17902f
update dependencies, minor fixes ( #1577 )
2016-09-24 21:01:48 -07:00
Thomas Kriechbaumer
566736c799
update appveyor with tox
2016-06-27 23:14:32 +02:00
Aldo Cortesi
ffca395e48
Honesty in testing
...
- Don't skip tests that fail
- Don't omit console from coverage
I'm working on the pathod races, and can't seem to reproduce the failures
locally.
Also, let's not kid ourselves about the console coverage - it should be
tracked. To improve it, we should measure it. Regressions in coverage of the
module should be flagged by CI.
2016-06-02 14:44:06 +12:00