Comments (8)
How exactly would one go about doing this? Cause I know of building Java projects with gradle, but not for Python
from pittapi.
@mbabatunde This guide is pretty good! http://docs.python-guide.org/en/latest/writing/tests/
from pittapi.
Awesome! I'll look at it and try to write some tests for the functions
from pittapi.
I'll take this one.
from pittapi.
Wait I'm stumped as to how we should test that the functions are doing what they're supposed to do?
Like CourseAPI#get_courses_by_req()
from pittapi.
@Rahi374 Make sure that the call does not error out and that a proper JSON response is returned!
from pittapi.
That's it?
from pittapi.
Yep!
from pittapi.
Related Issues (20)
- Use LaundryView's JSON API instead of BeautifulSoup HOT 2
- Issues with Shuttle API's get_vehicle_route_stop_estimates HOT 1
- IndexError when getting extra details for section HOT 1
- Exception of course caused by the edge case HOT 3
- Courses HTML Page is updated so scraping is incorrect HOT 1
- Making the package name lowercase HOT 1
- Moving docs onto readthedocs
- Switch from unittest to pytest
- Fixing up the docstrings in sports api
- Adding typing information into sports api
- Looking over the data results of sports api
- People api seems to be dead.
- Any API using m.pitt.edu are dead, new scrapers needed!
- make PittAPI actually an API HOT 4
- Unit tests should be hermetic HOT 1
- ValueError when using BeautifulSoup in lab.py HOT 18
- Create a Library API HOT 1
- People API is broken HOT 2
- README.md issues HOT 4
- As of this term, the Course API is broken HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pittapi.