-
See https://r-pkgs.org/test-design.html
- Want to wrap all data into fixtures
- Remove calls to "library"
- Use skip package function in test that instead of my own helpers
- Re-name test files…
-
I am recommending that the existing unit tests be migrated away from the `unittest` library over to `pytest`.
Benefits:
- Leverage PyTest fixtures as a cleaner and simpler solution for unit testi…
-
-
While making some changes to turn things into generics, I ran into a strange case where, simply by calling the new generic `ViewFactory.Create()` method, in the `AddViewOperationsTests` test methods, …
-
### What was wrong?
In the following integration tests that test custom registrations, our method of testing is a bit stateful since it registers then unregisters coders for the custom data type. …
-
Pytest allows to define paramtrized fixtures. Example:
```python
@pytest.fixture(params=['A', 'B', 'C'])
def case(request):
return request.param
def test_1(case):
assert case == 'E'
…
-
# Problem description
Ever since I added the `live_server` to my tests, other tests started to fail, that did previously pass.
## Details
The fixture to setup my browser with live_server su…
-
Following our quick discussion on Discord:
It might come very handy if we could use a WorkNet instance in unit tests to test new features and upgrades with the actual data currently on the contract…
-
Currently, the API endpoints in our NRL Tipping Application return raw internal error messages directly in the HTTP responses. This behavior can expose sensitive information about the internal working…
-
In this thread, we realized that TPCC and TPCH test fixtures use backups that are several years old: https://cockroachlabs.slack.com/archives/C023S0V4YEB/p1709912020888919?thread_ts=1709896031.584779&…