boukeversteegh
f4ebcb0f65
Merge remote-tracking branch 'daniel/master' into fix/imports
...
# Conflicts:
# Pipfile
# README.md
# betterproto/__init__.py
# betterproto/plugin.py
# betterproto/tests/util.py
2020-07-01 12:19:25 +02:00
nat
0c5d1ff868
Merge branch 'master' into client-streaming
2020-06-23 22:02:23 +02:00
Nat Noordanus
3185c67098
Improve generate script
...
- Fix issue with __pycache__ dirs getting picked up
- parallelise code generation with asyncio for 3x speedup
- silence protoc output unless -v option is supplied
- Use pathlib ;)
2020-06-15 00:19:07 +02:00
boukeversteegh
fdbe0205f1
find_module docstring and search for init files instead of directories
2020-06-14 22:54:03 +02:00
Nat Noordanus
8edec81b11
Switch from pipenv to poetry
...
- dropped dev dependency on rope, isort & flake
- poetry doesn't support dev scripts like pipenv, so create a makefile instead
- Add pytest-cov
- Use tox for testing multiple python versions in CI
- Update README
Update ci workflow
2020-06-12 21:13:55 +02:00
boukeversteegh
fb54917f2c
Detect entry-point of tests automatically
2020-06-11 13:55:12 +02:00
boukeversteegh
f7c2fd1194
Support nested messages, fix casing. Support test-cases in packages.
2020-06-11 13:55:11 +02:00
boukeversteegh
b813d1cedb
Undo adding skip to test
2020-06-03 23:59:10 +02:00
boukeversteegh
f5ce1b7108
Check that config.xfail contains valid test case names
2020-06-03 23:59:10 +02:00
boukeversteegh
e8a9960b73
Move configuration of test-cases to config file, include list of service tests
2020-05-25 21:11:33 +02:00
boukeversteegh
f25c66777a
#68 Service input messages are not imported
2020-05-25 18:48:42 +02:00
boukeversteegh
ec5683e572
Test Service instantiation as part of standard test-case
2020-05-24 20:02:41 +02:00
boukeversteegh
e2d35f4696
Support xfail on test-case level, support running tests on subsets.
2020-05-24 19:58:06 +02:00
boukeversteegh
24d44898f4
Only import reference module when needed. Some reference modules generate bad imports and cannot be loaded.
2020-05-24 19:53:14 +02:00
boukeversteegh
074448c996
Restore accidentally removed binary equality test
2020-05-24 19:52:14 +02:00
nat
1a87ea43a1
Merge pull request #40 from boukeversteegh/pr/wrapper-as-output
...
Support using Google's wrapper types as RPC output values
2020-05-24 19:06:30 +02:00
boukeversteegh
c50d9e2fdc
Add test for generating embedded wellknown types in outputs.
2020-05-24 14:48:39 +02:00
James Lan
de61ddab21
Add option to repeatly execute betterproto operations in test, to evaluate performance
2020-05-23 17:36:29 -07:00
Nat Noordanus
5e2d9febea
Blacken
2020-05-23 23:37:22 +02:00
boukeversteegh
92088ebda8
Cleanup
2020-05-22 21:18:44 +02:00
boukeversteegh
dfa0a56b39
Simplify standard tests by using 1 json per case.
2020-05-22 20:58:14 +02:00
boukeversteegh
b12f1e4e61
Organize test-cases into folders, extract compatibility test into proper test, support adding test-case specific tests
2020-05-22 12:54:01 +02:00
Daniel G. Taylor
811b54cabb
Better JSON 64-bit int handling, add way to determine whether a message was sent on the wire, various fixes
2019-10-17 23:36:52 -07:00
Daniel G. Taylor
dcb7102d92
Implement imports, simplified default value handling
2019-10-12 09:48:40 -07:00
Daniel G. Taylor
1a488faf7a
Generate/test refactoring
2019-10-09 17:21:29 -07:00
Daniel G. Taylor
6ed3b09f44
Initial commit
2019-10-05 08:47:14 -07:00