Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
erp5
Commits
2b311380
Commit
2b311380
authored
Aug 27, 2021
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run the failed test
parent
97403610
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
tests/__init__.py
tests/__init__.py
+12
-3
No files found.
tests/__init__.py
View file @
2b311380
...
...
@@ -37,9 +37,18 @@ class _ERP5(ERP5TypeTestSuite):
component_re
=
re
.
compile
(
".*/([^/]+)/TestTemplateItem/portal_components"
"/test
\
.[^.]+
\
.([^.]+).py$"
)
for
test_path
in
chain
(
glob
(
path
+
'/product/*/tests/test*.py'
),
glob
(
path
+
'/bt5/*/TestTemplateItem/test*.py'
),
glob
(
path
+
'/bt5/*/TestTemplateItem/portal_components/test.*.test*.py'
)):
glob
(
path
+
'/bt5/erp5_officejs_support_request_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalSupportRequest.py'
),
glob
(
path
+
'/bt5/erp5_trade/TestTemplateItem/portal_components/test.*.testTradeReports.py'
),
glob
(
path
+
'/bt5/erp5_advanced_ecommerce_test/TestTemplateItem/portal_components/test.*.testFunctionalAdvancedECommerce.py'
),
glob
(
path
+
'/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalOfficeJSSmartAssistant.py'
),
glob
(
path
+
'/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalOfficeJSCodeMirror.py'
),
glob
(
path
+
'/bt5/erp5_core_test/TestTemplateItem/portal_components/test.*.testWorkflowHistoryList.py'
),
glob
(
path
+
'/bt5/erp5_web_renderjs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalRJSRelationField.py'
),
glob
(
path
+
'/bt5/erp5_user_tutorial/TestTemplateItem/portal_components/test.*.testFunctionalStandaloneUserTutorial.py'
),
glob
(
path
+
'/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalOfficeJSoOoSpreadsheet.py'
),
glob
(
path
+
'/bt5/erp5_accounting_renderjs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalRJSAccountingReport.py'
),
glob
(
path
+
'/bt5/erp5_web_renderjs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalRJSServiceWorker.py'
),
glob
(
path
+
'/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.*.testFunctionalOfficeJSoOoPresentation.py'
)):
component_re_match
=
component_re
.
match
(
test_path
)
if
component_re_match
is
not
None
:
test_case
=
"%s:%s"
%
(
component_re_match
.
group
(
1
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment