This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
Separate data into a fixture #92
Labels
Comments
twemyss
added a commit
to twemyss/rse-classwork-2020
that referenced
this issue
Nov 5, 2020
ucapgum
referenced
this issue
in ucapgum/rse-classwork-2020
Nov 6, 2020
umitozmen
added a commit
to umitozmen/rse-classwork-2020
that referenced
this issue
Nov 8, 2020
Open
nikoSchoinas
referenced
this issue
in nikoSchoinas/rse-classwork-2020
Nov 11, 2020
…ITS/rsd-classwork-2020#92
DavidScobie
added a commit
to DavidScobie/rse-classwork-2020
that referenced
this issue
Nov 17, 2020
rmapjs1
added a commit
to rmapjs1/rse-classwork-2020
that referenced
this issue
Dec 20, 2020
Answers UCL Issue UCL-RITS#92
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Separating data from code
Your parametrised bit now probably got a bit too big and difficult to read.
Create a
fixture.yaml
file where you can store what you parametrised beforein a more human readable way.
Load the yaml file within the test and use it that structure to feed the parametrize test.
The
fixture.yaml
could look like:A sample solution to this exercise can be seen here.
The text was updated successfully, but these errors were encountered: