Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit f87bcd5

Browse files
committed
#13 Fix
1 parent a62a01f commit f87bcd5

File tree

11 files changed

+189
-75
lines changed

11 files changed

+189
-75
lines changed

Unickq.SpecFlow.Selenium.Allure.Example/Features/F1.feature.cs

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Unickq.SpecFlow.Selenium.Allure.Example/Features/F2.feature

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,11 @@ as
1818
#@Browser:BrowserStack_Win10_Chrome
1919
#@Browser:ChromeDebugs
2020
@Browser:ChromeDebug
21-
@Browsers:A
21+
@GoogleTranslate:DE
22+
@GoogleTranslate:UA
2223
Scenario Outline: Check website title
2324
Given I have opened https://translate.google.com/
2425
Then the title should contain '<string>'
25-
Examples:
26-
| string |
27-
| Gwoogle |
28-
29-
#
30-
#Scenario: Check website plain
31-
# Given I have opened https://translate.google.com/
32-
# Then the title should contain 'google'
33-
#
34-
#@Browser:ChromeDebug
35-
#@Browser:BrowserStack_Win10_Chrome
36-
##@author:xxx
37-
#Scenario Outline: Check website title 2
38-
# Given I have opened https://translate.google.com/
39-
# Then the title should contain '<string>'
40-
#Examples:
41-
# | string |
42-
#| Google |
26+
Examples:
27+
| string |
28+
| Gwoogle |

Unickq.SpecFlow.Selenium.Allure.Example/Features/F21.feature.cs

Lines changed: 12 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Unickq.SpecFlow.Selenium.Allure.Example/Unickq.SpecFlow.Selenium.Allure.Example.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
<Otherwise />
8787
</Choose>
8888
<ItemGroup>
89+
<Compile Include="Features\F1.feature.cs">
90+
<AutoGen>True</AutoGen>
91+
<DesignTime>True</DesignTime>
92+
<DependentUpon>F1.feature</DependentUpon>
93+
</Compile>
8994
<Compile Include="Features\F21.feature.cs">
9095
<AutoGen>True</AutoGen>
9196
<DesignTime>True</DesignTime>

Unickq.SpecFlow.Selenium.Allure.SpecFlowPlugin/Unickq.SpecFlow.Selenium.Allure.SpecFlowPlugin.csproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net45</TargetFramework>
55
<PackageId>Unickq.SpecFlow.Selenium.Allure</PackageId>
6-
<Version>1.3.0</Version>
6+
<Version>1.3.0-beta1</Version>
77
<Authors>Nick Chursin</Authors>
88
<Description>Unickq.SpecFlow.Selenium with Allure support</Description>
99
<PackageProjectUrl>https://github.com/unickq/SpecFlow.Selenium.Plugin</PackageProjectUrl>
@@ -13,12 +13,13 @@
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1414
<AssemblyName>Unickq.SpecFlow.Selenium.Allure.SpecFlowPlugin</AssemblyName>
1515
<RootNamespace>Unickq.SpecFlow.Selenium</RootNamespace>
16-
<FileVersion>1.3.0.0</FileVersion>
16+
<FileVersion>1.3.1.0</FileVersion>
1717
<PackageLicenseUrl>https://github.com/unickq/SpecFlow.Selenium.Plugin/blob/master/LICENSE</PackageLicenseUrl>
1818
<Copyright>Nick Chursin</Copyright>
1919
<Company />
20-
<PackageReleaseNotes>Allure integration</PackageReleaseNotes>
20+
<PackageReleaseNotes>SpecFlow 2.4 support</PackageReleaseNotes>
2121
<LangVersion>7</LangVersion>
22+
<AssemblyVersion>1.3.1.0</AssemblyVersion>
2223
</PropertyGroup>
2324

2425
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />
@@ -28,6 +29,7 @@
2829
<PackageReference Include="SpecFlow.CustomPlugin" Version="2.2.1">
2930
<PrivateAssets>all</PrivateAssets>
3031
</PackageReference>
32+
<PackageReference Include="Unickq.SpecFlow.Selenium" Version="1.3.0-beta1" />
3133
</ItemGroup>
3234

3335
<ItemGroup>
@@ -51,8 +53,4 @@
5153
<ItemGroup>
5254
<Folder Include="Properties\" />
5355
</ItemGroup>
54-
55-
<ItemGroup>
56-
<ProjectReference Include="..\Unickq.SpecFlow.Selenium.Plugin\Unickq.SpecFlow.Selenium.SpecFlowPlugin.csproj" />
57-
</ItemGroup>
5856
</Project>

Unickq.SpecFlow.Selenium.Allure.SpecFlowPlugin/UnickqSpecFlowSeleniumAllureGeneratorProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class UnickqSpecFlowSeleniumAllureGeneratorProvider : UnickqSpecFlowSelen
88
{
99
public override void SetTestInitializeMethod(TestClassGenerationContext generationContext)
1010
{
11-
_codeDomHelper.AddAttribute(generationContext.TestInitializeMethod, TestSetupAttr);
11+
CodeDomHelper.AddAttribute(generationContext.TestInitializeMethod, TestSetupAttr);
1212
generationContext.Namespace.Imports.Add(new CodeNamespaceImport("Unickq.SpecFlow.Selenium"));
1313

1414
generationContext.TestClassInitializeMethod.Statements.Add(

Unickq.SpecFlow.Selenium.Example/Features/F1.feature.cs

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Unickq.SpecFlow.Selenium.Example/Features/F2.feature.cs

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Unickq.SpecFlow.Selenium.Plugin/Unickq.SpecFlow.Selenium.SpecFlowPlugin.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@
33
<PropertyGroup>
44
<TargetFramework>net45</TargetFramework>
55
<PackageId>Unickq.SpecFlow.Selenium</PackageId>
6-
<Version>1.3.0</Version>
6+
<Version>1.3.0-beta1</Version>
77
<Authors>Nick Chursin</Authors>
8-
<Description>Test class generator to drive automated web ui tests with Selenium and SpecFlow 2.2.0. Works with BrowserStack, SauceLabs, TestingBot, CrossbrowserTesting and any WebDriver grid. Based on Baseclass.Contrib.SpecFlow.Selenium.NUnit.</Description>
8+
<Description>Test class generator to drive automated web ui tests with Selenium and SpecFlow 2.4 Works with BrowserStack, SauceLabs, TestingBot, CrossbrowserTesting and any WebDriver grid. Based on Baseclass.Contrib.SpecFlow.Selenium.NUnit.</Description>
99
<PackageProjectUrl>https://github.com/unickq/SpecFlow.Selenium.Plugin</PackageProjectUrl>
1010
<PackageIconUrl>https://raw.githubusercontent.com/unickq/SpecFlow.Selenium.Plugin/master/logo.png</PackageIconUrl>
1111
<RepositoryUrl>https://github.com/unickq/SpecFlow.Selenium.Plugin</RepositoryUrl>
1212
<PackageTags>specflow selenium nunit helper uiautomation</PackageTags>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1414
<AssemblyName>Unickq.SpecFlow.Selenium.SpecFlowPlugin</AssemblyName>
1515
<RootNamespace>Unickq.SpecFlow.Selenium</RootNamespace>
16-
<FileVersion>1.3.0.0</FileVersion>
16+
<FileVersion>1.3.1.0</FileVersion>
1717
<PackageLicenseUrl>https://github.com/unickq/SpecFlow.Selenium.Plugin/blob/master/LICENSE</PackageLicenseUrl>
1818
<Copyright>Nick Chursin</Copyright>
1919
<Company />
20-
<PackageReleaseNotes>Ihner exception handling</PackageReleaseNotes>
20+
<PackageReleaseNotes>SpecFlow 2.4 support
21+
</PackageReleaseNotes>
22+
<AssemblyVersion>1.3.1.0</AssemblyVersion>
2123
</PropertyGroup>
2224

2325
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

0 commit comments

Comments
 (0)