Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
17 stars 2 forks source link

Template for unit tests #187

Closed RondeauG closed 1 year ago

RondeauG commented 1 year ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

Other information:

This is a start for #9

RondeauG commented 1 year ago

@aulemahal @Zeitsperre Feel free to work directly on this branch and to change/remove what I've done. Once we're happy with the formatting, we'll merge it and I'll start making real unit tests.

RondeauG commented 1 year ago

What I'm uploading here is a version that uses test_timeseries and hits pretty much all of climatological_mean. Since this is the best time to establish a format, I'm open to all suggestions!

RondeauG commented 1 year ago

Deux questionnements spécifiques:

aulemahal commented 1 year ago

 @RondeauG Please see the changes introduced in my latest commit.

RondeauG commented 1 year ago

This should be good for review.