Skip to content

Commit

Permalink
Split it up. (#366)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #366

Split up testslide into 3 separate libraries
- core to house the core functionality around mocking
- dsl contains the testslide dsl
- executor has the runner and import profiler
bnuuy

Reviewed By: zsol

Differential Revision: D55324794

fbshipit-source-id: 2c6712959d90961831de0f3ddaaeb7dc99bebaa2
  • Loading branch information
deathowl authored and facebook-github-bot committed May 1, 2024
1 parent cdfd06a commit 108c506
Show file tree
Hide file tree
Showing 28 changed files with 1,275 additions and 1,180 deletions.
2 changes: 1 addition & 1 deletion pytest-testslide/pytest_testslide.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __exit__(
exc_val: Optional[Exception],
exc_tb: TracebackType,
):
aggregated_exceptions = testslide_module.AggregatedExceptions()
aggregated_exceptions = testslide_module.bdd.lib.AggregatedExceptions()
try:
for assertion in self._assertions:
try:
Expand Down
2 changes: 1 addition & 1 deletion tests/cli_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run_testslide(
args = [
sys.executable,
"-m",
"testslide.cli",
"testslide.executor.cli",
]
if show_testslide_stack_trace:
args.append("--show-testslide-stack-trace")
Expand Down

0 comments on commit 108c506

Please sign in to comment.