indy 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,40 +0,0 @@
1
- @log_level
2
- Feature: Finding log entries at various log levels
3
- As an Indy user I am able to create an instance and find all logs at or above the log level.
4
-
5
- Background:
6
- Given the following log:
7
- """
8
- 2000-09-07 14:07:41 INFO MyApp - Entering application.
9
- 2000-09-07 14:07:42 DEBUG MyApp - Focusing application.
10
- 2000-09-07 14:07:43 DEBUG MyApp - Blurring application.
11
- 2000-09-07 14:07:44 WARN MyApp - Low on Memory.
12
- 2000-09-07 14:07:45 ERROR MyApp - Out of Memory.
13
- 2000-09-07 14:07:46 INFO MyApp - Exiting application.
14
- """
15
-
16
- Scenario: Count of messages at a specified log level or higher
17
- When searching the log for the log severity INFO and higher
18
- Then I expect to have found 4 log entries
19
-
20
-
21
- Scenario: Count of messages at a specified log level or higher
22
- When searching the log for the log severity DEBUG and higher
23
- Then I expect to have found 6 log entries
24
-
25
-
26
- Scenario: Count of messages at a specified log level or lower
27
- When searching the log for the log severity INFO and lower
28
- Then I expect to have found 4 log entries
29
-
30
-
31
- Scenario: Particular message at a specified log level or higher
32
- When searching the log for the log severity INFO and higher
33
- Then I expect the first entry to be:
34
- """
35
- 2000-09-07 14:07:41 INFO MyApp - Entering application.
36
- """
37
- And I expect the last entry to be:
38
- """
39
- 2000-09-07 14:07:46 INFO MyApp - Exiting application.
40
- """