This is an example project which performs the followings
- Check whether a particular IP address is reachable to not
Use the following command to run.
yarn install && yarn build && yarn start
Use the following command to test.
yarn install && yarn build && yarn test
-
Refer to the class
file-util.ts
. Exported class name isFileUtil
-
Refer to the class
ping-ip-util.ts
. Exported class name isIPPingUtil
Since I am using Facebook Jest for test framework, you can refer to the classes inside src/tests folder for various test cases.
For 500 IP Addresses, using promise call
Total Time Taken: 15 seconds
Debadatta Mishra ([email protected])