BHoM / BHoM/LadybugTools_Toolkit

Refactor unit tests to better use pytest functionality (e.g. fixtures)

Open
#319 0 comments 0 reactions 1 assignee Claimed by @Tom-Kingstone View on GitHub
type:test-script
Dominant language
Python
Stars
3
Forks
2
Avg merge
8d 20h
Merged PRs (30d)
2

Description

#### Definition of the test :

see the docs: https://docs.pytest.org/en/latest/how-to/fixtures.html

The main reason to do this is so that tests don't actually affect each other as I have been discovering while trying to write a test for #318, where the setup of an external comfort object in a certain way is the actual test

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.