NREL / EnergyIntensityIndicators

As part of a national priority for improving energy efficiency, the U.S. Department of Energy's (DOE's) Office of Energy Efficiency and Renewable Energy (EERE) has established a national system of indicators to track changes in the energy intensity of our economy and economic sectors over time.
https://nrel.github.io/EnergyIntensityIndicators
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Write tests for methods using PNNL data #6

Open calmc opened 3 years ago

calmc commented 3 years ago

Write tests (using pytest or equivalent package) for methods as they're being developed. Test against PNNL spreadsheet data and calculations. Create a /tests directory and document in this issue the methods that have been tested.

calmc commented 3 years ago

@iisabeller when we talked briefly about grabbing energy and activity data for dataframes to help write the framework code, I realized it might be helpful to get practice writing tests for the classes and methods you're creating. I'll add testing to our pairing agenda for 7/28.