@@ -75,18 +75,17 @@ def docs_in_docker(session: Session) -> None:
75
75
76
76
77
77
@nox .session
78
- def test (session : Session ) -> None :
78
+ def test_python (session : Session ) -> None :
79
79
"""Run the complete test suite"""
80
80
session .install ("--upgrade" , "pip" , "setuptools" , "wheel" )
81
- test_python (session )
82
- test_types (session )
83
- test_style (session )
84
- test_docs (session )
85
- test_js (session )
81
+ test_python_suite (session )
82
+ test_python_types (session )
83
+ test_python_style (session )
84
+ test_python_docs (session )
86
85
87
86
88
87
@nox .session
89
- def test_python (session : Session ) -> None :
88
+ def test_python_suite (session : Session ) -> None :
90
89
"""Run the Python-based test suite"""
91
90
session .env ["IDOM_DEBUG_MODE" ] = "1"
92
91
install_requirements_file (session , "test-env" )
@@ -102,7 +101,7 @@ def test_python(session: Session) -> None:
102
101
103
102
104
103
@nox .session
105
- def test_types (session : Session ) -> None :
104
+ def test_python_types (session : Session ) -> None :
106
105
"""Perform a static type analysis of the codebase"""
107
106
install_requirements_file (session , "check-types" )
108
107
install_requirements_file (session , "pkg-deps" )
@@ -111,7 +110,7 @@ def test_types(session: Session) -> None:
111
110
112
111
113
112
@nox .session
114
- def test_style (session : Session ) -> None :
113
+ def test_python_style (session : Session ) -> None :
115
114
"""Check that style guidelines are being followed"""
116
115
install_requirements_file (session , "check-style" )
117
116
session .run ("flake8" , "src/idom" , "tests" , "docs" )
@@ -127,7 +126,7 @@ def test_style(session: Session) -> None:
127
126
128
127
129
128
@nox .session
130
- def test_docs (session : Session ) -> None :
129
+ def test_python_docs (session : Session ) -> None :
131
130
"""Verify that the docs build and that doctests pass"""
132
131
install_requirements_file (session , "build-docs" )
133
132
install_idom_dev (session , extras = "all" )
@@ -136,7 +135,7 @@ def test_docs(session: Session) -> None:
136
135
137
136
138
137
@nox .session
139
- def test_js (session : Session ) -> None :
138
+ def test_javascript (session : Session ) -> None :
140
139
"""Verify that the docs build and that doctests pass"""
141
140
app_dir = HERE / "src" / "idom" / "client" / "app"
142
141
session .chdir (str (app_dir ))
0 commit comments