Skip to content

Commit c8632ec

Browse files
torbaczEllerbach
andauthored
E2E postman tests (#242)
Co-authored-by: Laurent Ellerbach <laurelle@microsoft.com>
1 parent 83e51a5 commit c8632ec

File tree

3 files changed

+952
-1
lines changed

3 files changed

+952
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,14 @@ private static void WebServerStatusChanged(object obj, WebServerStatusEventArgs
407407
}
408408
```
409409

410+
## E2E tests
411+
412+
There is a collection of postman tests `nanoFramework WebServer E2E Tests.postman_collection.json` in WebServerE2ETests which should be used for testing WebServer in real world scenario. Usage is simple:
413+
- Import json file into Postman
414+
- Deploy WebServerE2ETests to your device - copy IP
415+
- Set the `base_url` variable to match your device IP address
416+
- Choose request you want to test or run whole collection and check tests results.
417+
410418
## Feedback and documentation
411419

412420
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).

0 commit comments

Comments
 (0)