@@ -56,131 +56,131 @@ module SimpleOperation =
5656 let output = result.Data.Value.Echo.Value.Single.Value |> map ( fun x -> x.Int, x.IntOption, x.String, x.StringOption, x.Uri, x.Guid)
5757 input |> equals output))
5858
59- [<Fact>]
59+ [<Fact; Trait ( " Execution " , " Sync " ) >]
6060let ``Should be able to execute a query without sending input field`` () =
6161 SimpleOperation.operation.Run()
6262 |> SimpleOperation.validateResult None
6363
64- [<Fact>]
64+ [<Fact; Trait ( " Execution " , " Sync " ) >]
6565let ``Should be able to execute a query using context , without sending input field`` () =
6666 SimpleOperation.operation.Run( context)
6767 |> SimpleOperation.validateResult None
6868
69- [<Fact>]
69+ [<Fact; Trait ( " Execution " , " Async " ) >]
7070let ``Should be able to execute a query without sending input field asynchronously`` () =
7171 SimpleOperation.operation.AsyncRun()
7272 |> Async.RunSynchronously
7373 |> SimpleOperation.validateResult None
7474
75- [<Fact>]
75+ [<Fact; Trait ( " Execution " , " Async " ) >]
7676let ``Should be able to execute a query using context , without sending input field , asynchronously`` () : Task = task {
7777 let! result = SimpleOperation.operation.AsyncRun( context)
7878 result |> SimpleOperation.validateResult None
7979}
8080
81- [<Fact>]
81+ [<Fact; Trait ( " Execution " , " Sync " ) >]
8282let ``Should be able to execute a query sending an empty input field`` () =
8383 let input = Input()
8484 SimpleOperation.operation.Run( Some input)
8585 |> SimpleOperation.validateResult ( Some input)
8686
87- [<Fact>]
87+ [<Fact; Trait ( " Execution " , " Sync " ) >]
8888let ``Should be able to execute a query using context , sending an empty input field`` () =
8989 let input = Input()
9090 SimpleOperation.operation.Run( context, Some input)
9191 |> SimpleOperation.validateResult ( Some input)
9292
93- [<Fact>]
93+ [<Fact; Trait ( " Execution " , " Async " ) >]
9494let ``Should be able to execute a query without sending an empty input field asynchronously`` () : Task = task {
9595 let input = Input()
9696 let! result = SimpleOperation.operation.AsyncRun( Some input)
9797 result |> SimpleOperation.validateResult ( Some input)
9898}
9999
100- [<Fact>]
100+ [<Fact; Trait ( " Execution " , " Async " ) >]
101101let ``Should be able to execute a query using context , sending an empty input field , asynchronously`` () : Task = task {
102102 let input = Input()
103103 let! result = SimpleOperation.operation.AsyncRun( context, Some input)
104104 result |> SimpleOperation.validateResult ( Some input)
105105}
106106
107- [<Fact>]
107+ [<Fact; Trait ( " Execution " , " Sync " ) >]
108108let ``Should be able to execute a query sending an input field with single field`` () =
109109 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
110110 let input = Input( Some single)
111111 SimpleOperation.operation.Run( Some input)
112112 |> SimpleOperation.validateResult ( Some input)
113113
114- [<Fact>]
114+ [<Fact; Trait ( " Execution " , " Sync " ) >]
115115let ``Should be able to execute a query using context , sending an input field with single field`` () =
116116 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
117117 let input = Input( Some single)
118118 SimpleOperation.operation.Run( context, Some input)
119119 |> SimpleOperation.validateResult ( Some input)
120120
121- [<Fact>]
121+ [<Fact; Trait ( " Execution " , " Async " ) >]
122122let ``Should be able to execute a query without sending an input field with single field asynchronously`` () : Task = task {
123123 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
124124 let input = Input( Some single)
125125 let! result = SimpleOperation.operation.AsyncRun( Some input)
126126 result |> SimpleOperation.validateResult ( Some input)
127127}
128128
129- [<Fact>]
129+ [<Fact; Trait ( " Execution " , " Async " ) >]
130130let ``Should be able to execute a query using context , sending an input field with single field , asynchronously`` () : Task = task {
131131 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
132132 let input = Input( Some single)
133133 let! result = SimpleOperation.operation.AsyncRun( context, Some input)
134134 result |> SimpleOperation.validateResult ( Some input)
135135}
136136
137- [<Fact>]
137+ [<Fact; Trait ( " Execution " , " Sync " ) >]
138138let ``Should be able to execute a query sending an input field with list field`` () =
139139 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
140140 let input = Input( list = Some list)
141141 SimpleOperation.operation.Run( Some input)
142142 |> SimpleOperation.validateResult ( Some input)
143143
144- [<Fact>]
144+ [<Fact; Trait ( " Execution " , " Sync " ) >]
145145let ``Should be able to execute a query using context , sending an input field with list field`` () =
146146 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
147147 let input = Input( list = Some list)
148148 SimpleOperation.operation.Run( context, Some input)
149149 |> SimpleOperation.validateResult ( Some input)
150150
151- [<Fact>]
151+ [<Fact; Trait ( " Execution " , " Async " ) >]
152152let ``Should be able to execute a query without sending an input field with list field asynchronously`` () : Task = task {
153153 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
154154 let input = Input( list = Some list)
155155 let! result = SimpleOperation.operation.AsyncRun( Some input)
156156 result |> SimpleOperation.validateResult ( Some input)
157157}
158158
159- [<Fact>]
159+ [<Fact; Trait ( " Execution " , " Async " ) >]
160160let ``Should be able to execute a query using context , sending an input field with list field , asynchronously`` () : Task = task {
161161 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
162162 let input = Input( list = Some list)
163163 let! result = SimpleOperation.operation.AsyncRun( context, Some input)
164164 result |> SimpleOperation.validateResult ( Some input)
165165}
166166
167- [<Fact>]
167+ [<Fact; Trait ( " Execution " , " Sync " ) >]
168168let ``Should be able to execute a query sending an input field with single and list fields`` () =
169169 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
170170 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
171171 let input = Input( Some single, Some list)
172172 SimpleOperation.operation.Run( Some input)
173173 |> SimpleOperation.validateResult ( Some input)
174174
175- [<Fact>]
175+ [<Fact; Trait ( " Execution " , " Sync " ) >]
176176let ``Should be able to execute a query using context , sending an input field with single and list fields`` () =
177177 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
178178 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
179179 let input = Input( Some single, Some list)
180180 SimpleOperation.operation.Run( context, Some input)
181181 |> SimpleOperation.validateResult ( Some input)
182182
183- [<Fact>]
183+ [<Fact; Trait ( " Execution " , " Async " ) >]
184184let ``Should be able to execute a query without sending an input field with single and list fields asynchronously`` () : Task = task {
185185 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
186186 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
@@ -189,7 +189,7 @@ let ``Should be able to execute a query without sending an input field with sing
189189 result |> SimpleOperation.validateResult ( Some input)
190190}
191191
192- [<Fact>]
192+ [<Fact; Trait ( " Execution " , " Async " ) >]
193193let ``Should be able to execute a query using context , sending an input field with single and list fields , asynchronously`` () : Task = task {
194194 let single = InputField( " A" , 2 , System.Uri( " http://localhost:1234" ), EmptyGuidAsString)
195195 let list = [| InputField( " A" , 2 , System.Uri( " http://localhost:4321" ), EmptyGuidAsString)|]
0 commit comments