-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ede42f
commit cf24bd7
Showing
2 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testExecutions version="1"> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts"> | ||
<testCase name="ErrorHandler middleware with 0 status code" duration="6"/> | ||
<testCase name="ErrorHandler middleware with 0 status code" duration="5"/> | ||
<testCase name="ErrorHandler middleware with 200 status code" duration="1"/> | ||
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/> | ||
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/> | ||
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="0"/> | ||
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="1"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/lib/logger.spec.ts"> | ||
<testCase name="Logger Lib should create a new log directory if one doesn't already exist" duration="8"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/system-status/SystemStatusController.spec.ts"> | ||
<testCase name="System Status Controller test getError method" duration="3"/> | ||
<testCase name="System Status Controller test getSystemInfo method" duration="4"/> | ||
<testCase name="System Status Controller test getSystemInfo method" duration="2"/> | ||
<testCase name="System Status Controller test getServerTime method" duration="0"/> | ||
<testCase name="System Status Controller test getResourceUsage method" duration="1"/> | ||
<testCase name="System Status Controller test getProcessInfo method" duration="0"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryController.spec.ts"> | ||
<testCase name="Enquiry Controller should register routes and return router" duration="3"/> | ||
<testCase name="Enquiry Controller should get all enquiries" duration="1"/> | ||
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="0"/> | ||
<testCase name="Enquiry Controller should get details of a specific enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="0"/> | ||
<testCase name="Enquiry Controller should create enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should throw BAD_REQUEST error if name and country are not provided" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors in create enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should update enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should handle errors in update enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should delete enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should handle errors in delete enquiry" duration="0"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryService.spec.ts"> | ||
<testCase name="EnquiryService should return all enquiries" duration="4"/> | ||
<testCase name="EnquiryService should throw error if failed to fetch enquiries" duration="6"/> | ||
<testCase name="EnquiryService should return particular enquiry by id" duration="1"/> | ||
<testCase name="EnquiryService should return all enquiries" duration="3"/> | ||
<testCase name="EnquiryService should throw error if failed to fetch enquiries" duration="7"/> | ||
<testCase name="EnquiryService should return particular enquiry by id" duration="0"/> | ||
<testCase name="EnquiryService should throw error if failed to fetch empty enquiry by id" duration="2"/> | ||
<testCase name="EnquiryService should throw error if failed to fetch enquiry by id" duration="0"/> | ||
<testCase name="EnquiryService should update enquiry with valid input" duration="1"/> | ||
<testCase name="EnquiryService should throw an error if it fails to update as it failed to find the enquiry by id" duration="0"/> | ||
<testCase name="EnquiryService should throw an error if it fails to update" duration="1"/> | ||
<testCase name="EnquiryService should create a new enquiry with valid input" duration="0"/> | ||
<testCase name="EnquiryService should throw error if failed to create enquiry" duration="1"/> | ||
<testCase name="EnquiryService should return true if enquiry is deleted successfully" duration="0"/> | ||
<testCase name="EnquiryService should return false if no enquiry is deleted" duration="1"/> | ||
<testCase name="EnquiryService should throw error if failed to delete enquiry" duration="0"/> | ||
<testCase name="EnquiryService should throw error if failed to create enquiry" duration="0"/> | ||
<testCase name="EnquiryService should return true if enquiry is deleted successfully" duration="1"/> | ||
<testCase name="EnquiryService should return false if no enquiry is deleted" duration="0"/> | ||
<testCase name="EnquiryService should throw error if failed to delete enquiry" duration="1"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryController.spec.ts"> | ||
<testCase name="Enquiry Controller should register routes and return router" duration="2"/> | ||
<testCase name="Enquiry Controller should get all enquiries" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="1"/> | ||
<testCase name="Enquiry Controller should get details of a specific enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="1"/> | ||
<testCase name="Enquiry Controller should create enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should throw BAD_REQUEST error if name and country are not provided" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors in create enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should update enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors in update enquiry" duration="1"/> | ||
<testCase name="Enquiry Controller should delete enquiry" duration="0"/> | ||
<testCase name="Enquiry Controller should handle errors in delete enquiry" duration="0"/> | ||
</file> | ||
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/integration-tests/app.integration.spec.ts"> | ||
<testCase name="status integration tests can get default route success" duration="15"/> | ||
<testCase name="status integration tests can get default web route success" duration="3"/> | ||
<testCase name="status integration tests can get default route success" duration="13"/> | ||
<testCase name="status integration tests can get default web route success" duration="2"/> | ||
</file> | ||
</testExecutions> |