Skip to content

Commit

Permalink
add flags to components
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySentry committed Nov 29, 2023
1 parent caa7e1f commit 7c89fd3
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 365 deletions.
Binary file modified .coverage
Binary file not shown.
2 changes: 2 additions & 0 deletions app/integration_tests/test_banker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ def test_deposit():
assert bank.balance == 0
bank.deposit(10)
assert bank.balance == 10
bank.withdraw(1)
assert bank.balance == 9
5 changes: 4 additions & 1 deletion app/integrator/banker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ def withdraw(self, val):
self.balance -= val

def reset(self):
self.balance = 0
self.balance = 0

def backdoor(self):
self.balance += 1000
9 changes: 8 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,18 @@ component_management:
name: CalculatorApp
paths:
- "**/calculator.py"
flag_regexes:
- "unit"
- component_id: all
name: Everything
paths:
- "**/*.py"
flag_regexes:
- "unit"
- "integration"
- component_id: banker
name: BankerApp
paths:
- "**/banker.py"
- "**/banker.py"
flag_regexes:
- "integration"
Loading

0 comments on commit 7c89fd3

Please sign in to comment.