-
Notifications
You must be signed in to change notification settings - Fork 15
Testing
Test files are provided along with the litleSdkPython module in order to aide in development and ensure proper use of the SDK.
To begin, run setUpConfig.py in the litleSdkPythonTest folder. The script will prompt the user for a username, password, merchantId which can be set to anything when testing against sandbox and a proxy if required by your system to talk to Litle. This file will create a file named testConfig.py which contains the configuration data for all the tests. This file can be edited to suite your testing needs.
Unit tests test individual functions within the SDK. They can be run individually or all together with testAllUnitTests.py
Functional tests test transactions and error conditions using SDK. They can be run individually or all together with testAllFunctionalTests.py
Certification tests are the set of test required by Litle in order to move into production. They contain a wide variety of use cases. They can be run individually or all together with testAllCertificationTests.py
All tests can be run together by running the TestAll.py file in the all folder.