From a713d175a12c3a5989b09d0552fb44c18363253f Mon Sep 17 00:00:00 2001 From: Sarabjot Singh Date: Wed, 18 Apr 2018 12:34:00 +0530 Subject: [PATCH 1/3] Adding RFC for test timeout configured via runsettings. --- RFCs/008-TestCase-Timeout.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 RFCs/008-TestCase-Timeout.md diff --git a/RFCs/008-TestCase-Timeout.md b/RFCs/008-TestCase-Timeout.md new file mode 100644 index 0000000..a33b404 --- /dev/null +++ b/RFCs/008-TestCase-Timeout.md @@ -0,0 +1,21 @@ +# RFC 007- Test case timeout via runsettings + +## Motivation +User should be able to configure global test case timeout for all the test cases part of the run.  + +### Proposed solution +Make test case timeout configurable via TestTimeout tag which is part of the adapter node in the runsettings. + +Here is a sample runsettings:  +``` +   +    + 5000    +    +   +``` + +### Honoring the settings  +- If no settings are provided in runsettings, default timeout is set to 0.  +- Timeout specified via Timeout attribute on TestMethod takes precedence over the global timeout specified via runsettings.  +- For all the test methods that do not have Timeout attribute, timeout based on the timeout specified via runsettings. \ No newline at end of file From 95fec451d4f7fbb3b302663bd73a43ae5695a210 Mon Sep 17 00:00:00 2001 From: Sarabjot Singh Date: Wed, 18 Apr 2018 14:19:37 +0530 Subject: [PATCH 2/3] Minor changes. --- RFCs/008-TestCase-Timeout.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RFCs/008-TestCase-Timeout.md b/RFCs/008-TestCase-Timeout.md index a33b404..c13aab5 100644 --- a/RFCs/008-TestCase-Timeout.md +++ b/RFCs/008-TestCase-Timeout.md @@ -10,7 +10,7 @@ Here is a sample runsettings:  ```      - 5000    + 5000         ``` @@ -18,4 +18,4 @@ Here is a sample runsettings:  ### Honoring the settings  - If no settings are provided in runsettings, default timeout is set to 0.  - Timeout specified via Timeout attribute on TestMethod takes precedence over the global timeout specified via runsettings.  -- For all the test methods that do not have Timeout attribute, timeout based on the timeout specified via runsettings. \ No newline at end of file +- For all the test methods that do not have Timeout attribute, timeout will be based on the timeout specified via runsettings. \ No newline at end of file From a7e35a8b9c81476144d2db4197f734ef9ff17075 Mon Sep 17 00:00:00 2001 From: Sarabjot Singh Date: Wed, 18 Apr 2018 14:25:23 +0530 Subject: [PATCH 3/3] Fixed the numbering for RFC --- RFCs/008-TestCase-Timeout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFCs/008-TestCase-Timeout.md b/RFCs/008-TestCase-Timeout.md index c13aab5..7b5a9df 100644 --- a/RFCs/008-TestCase-Timeout.md +++ b/RFCs/008-TestCase-Timeout.md @@ -1,4 +1,4 @@ -# RFC 007- Test case timeout via runsettings +# RFC 008 - Test case timeout via runsettings ## Motivation User should be able to configure global test case timeout for all the test cases part of the run.