instiapp-api icon indicating copy to clipboard operation
instiapp-api copied to clipboard

Write Tests for Buy and Sell

Open SanskarGosavi2003 opened this issue 1 year ago • 0 comments

Problem Statement

  • We dont have pre written tests for Buy and Sell
  • This might cause issues later in the future if a "ROGUE" coder works on the codebase and makes changes that doesn't fit well with the initial logic and causes bugs that might go undetected into production.
  • To prevent this we need another "ROGUE" coder like you to help us prevent this disaster from occurring ahead of its time.

How you can be the 2nd "ROGUE STAR"

  • Write the tests for buy and Sell in buyandsell/tests.py
  • These tests should cover all the API calls for Buy and Sell
  • To make your work a bit easier refer to the tests written elsewhere in the code base in the tests.py files

Make Sure

  • You follow the coding convention that has been followed through out the codebase
  • Make sure the code quality stays consistent
  • If you are having doubts regarding certain way some features have been implemented you can contact @VIBR0X or @Krishna-Baldwa
  • And you are all set to contribute to IIT Bombay's best community of developers and become an integral part of DevCom

SanskarGosavi2003 avatar Dec 09 '23 13:12 SanskarGosavi2003