Skip to content

Commit

Permalink
Release 3.5.0 (#263)
Browse files Browse the repository at this point in the history
#260 (LightBDD.MsTest2)(Change) Updated MSTest.TestFramework to 2.2.10
#260 (LightBDD.NUnit3)(Change) Updated NUnit dependency to 3.13.3
#260 (LightBDD.Fixie2)(Change) Dropped netcoreapp2.0 support
#260 (Examples) Removed Example.LightBDD.MsTest2.UWP project as UWP is deprecated
#255 (LightBDD.Core) Added IStep.AttachFile() method allowing to add file attachments to steps and fired StepFileAttached progress notification event when attachment is made
#255 (LightBDD.Core) Added ReportWritersConfiguration.UpdateFileAttachmentsManager() to allow re-configuring file attachments storage
#255 (LightBDD.Framework) Added support to attach files to steps with StepExecution.Current.AttachFile()
#255 (LightBDD.Framework) Added FileAttachmentManager implementation and registered it with ReportWritersConfiguration.RegisterDefaultFileAttachmentManager() extension method to create attachments in ~/Reports folder
#255 (LightBDD.Framework) Updated DefaultProgressNotifier to notify on StepFileAttached event
#255 (LightBDD.Framework) Updated HtmlResultTextWriter / PlainTextReportFormatter / XmlReportFormatter to include file attachments
#225 (Core)(New) Introduced IProgressNotifier and processing events: FeatureStarting, FeatureFinished, ScenarioStarting, ScenarioFinished, StepStarting, StepFinished, StepCommented
#225 (Core)(New) Extended ScenarioExecutionContext with GetCurrentScenarioFixtureIfPresent to return fixture object executing given scenario
#225 (Framework)(New) Introduced ProgressNotifierConfiguration to configure IProgressNotifier instances and updated DefaultProgressNotifier, NoProgressNotifier to implement IProgressNotifier and added ParallelProgressNotifierProvider.CreateProgressNotifier() method
#225 (LightBDD.XUnit2/LightBDD.NUnit3/LightBDD.MsTest2/LightBDD.Fixie2)(Change) Updated projects to use IProgressNotifier configuration
#225 (Core/Framework)(Change) Obsoleted IScenarioProgressNotifier, IFeatureProgressNotifier, DelegatingScenarioProgressNotifier, DelegatingFeatureProgressNotifier and all methods using them
  • Loading branch information
Suremaker committed Aug 7, 2022
1 parent 51c4c00 commit 85aa481
Show file tree
Hide file tree
Showing 189 changed files with 2,900 additions and 2,452 deletions.
6 changes: 3 additions & 3 deletions AssemblyVersion.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Reflection;

[assembly: AssemblyCopyright("Copyright © Wojciech Kotlarski 2013-2021")]
[assembly: AssemblyVersion("3.4.2")]
[assembly: AssemblyFileVersion("3.4.2")]
[assembly: AssemblyInformationalVersion("3.4.2")]
[assembly: AssemblyVersion("3.5.0")]
[assembly: AssemblyFileVersion("3.5.0")]
[assembly: AssemblyInformationalVersion("3.5.0")]
19 changes: 17 additions & 2 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
LightBDD
===========================================

Version [next]
----------------------------------------
Version 3.5.0
----------------------------------------
+ #260 (LightBDD.MsTest2)(Change) Updated MSTest.TestFramework to 2.2.10
+ #260 (LightBDD.NUnit3)(Change) Updated NUnit dependency to 3.13.3
+ #260 (LightBDD.Fixie2)(Change) Dropped netcoreapp2.0 support
+ #260 (Examples) Removed Example.LightBDD.MsTest2.UWP project as UWP is deprecated
+ #255 (LightBDD.Core) Added IStep.AttachFile() method allowing to add file attachments to steps and fired StepFileAttached progress notification event when attachment is made
+ #255 (LightBDD.Core) Added ReportWritersConfiguration.UpdateFileAttachmentsManager() to allow re-configuring file attachments storage
+ #255 (LightBDD.Framework) Added support to attach files to steps with StepExecution.Current.AttachFile()
+ #255 (LightBDD.Framework) Added FileAttachmentManager implementation and registered it with ReportWritersConfiguration.RegisterDefaultFileAttachmentManager() extension method to create attachments in ~/Reports folder
+ #255 (LightBDD.Framework) Updated DefaultProgressNotifier to notify on StepFileAttached event
+ #255 (LightBDD.Framework) Updated HtmlResultTextWriter / PlainTextReportFormatter / XmlReportFormatter to include file attachments
+ #225 (Core)(New) Introduced IProgressNotifier and processing events: FeatureStarting, FeatureFinished, ScenarioStarting, ScenarioFinished, StepStarting, StepFinished, StepCommented
+ #225 (Core)(New) Extended ScenarioExecutionContext with GetCurrentScenarioFixtureIfPresent to return fixture object executing given scenario
+ #225 (Framework)(New) Introduced ProgressNotifierConfiguration to configure IProgressNotifier instances and updated DefaultProgressNotifier, NoProgressNotifier to implement IProgressNotifier and added ParallelProgressNotifierProvider.CreateProgressNotifier() method
+ #225 (LightBDD.XUnit2/LightBDD.NUnit3/LightBDD.MsTest2/LightBDD.Fixie2)(Change) Updated projects to use IProgressNotifier configuration
+ #225 (Core/Framework)(Change) Obsoleted IScenarioProgressNotifier, IFeatureProgressNotifier, DelegatingScenarioProgressNotifier, DelegatingFeatureProgressNotifier and all methods using them

Version 3.4.2
----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion QuickStart.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
LightBDD Quick Start:
#####################################

Thanks for installing LightBDD version 3.4.2!
Thanks for installing LightBDD version 3.5.0!

If you are new LightBDD user, please feel free to explore the LightBDD Wiki page, especially Quick Start: https://github.com/LightBDD/LightBDD/wiki/Quick-Start
If you just updated LightBDD from previous version, please read Wiki page about migrating LightBDD: https://github.com/LightBDD/LightBDD/wiki/Migrating-LightBDD-Versions
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ LightBDD.Extensions.DependencyInjection | [![NuGet Badge](https://buildstats.inf
* Productivity extensions for VisualStudio with Feature Class Templates, Project Templates and Code Snippets,
* Integration with [NUnit](http://www.nunit.org/), [xUnit](http://xunit.github.io/), [MsTest.TestFramework](https://www.nuget.org/packages/MSTest.TestFramework/) and [Fixie](http://fixie.github.io/) frameworks,
* Async scenario and steps execution support,
* Cross-platform support (.NET Framework / .NET Standard / .NET Core / UWP).
* Cross-platform support (.NET Framework / .NET Standard / .NET Core / [UWP](https://github.com/LightBDD/LightBDD/tree/3.4.2/examples/Example.LightBDD.MsTest2.UWP)).

### Tests structure and conventions
**LightBDD** runs on top of [NUnit](http://www.nunit.org/), [xUnit](http://xunit.github.io/), [MsTest.TestFramework](https://www.nuget.org/packages/MSTest.TestFramework/) and [Fixie](http://fixie.github.io/), allowing to leverage the well known test frameworks and their features in writing the behavioral style scenarios, which makes it very easy to learn, adapt and use.
Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ for:
build_script:
- sh: sudo apt-get install -yq libcurl3
- sh: dotnet restore
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.Core.UnitTests/LightBDD.Core.UnitTests.csproj
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.Framework.UnitTests/LightBDD.Framework.UnitTests.csproj
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.Framework.Reporting.UnitTests/LightBDD.Framework.Reporting.UnitTests.csproj
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.MsTest2.UnitTests/LightBDD.MsTest2.UnitTests.csproj
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.NUnit3.UnitTests/LightBDD.NUnit3.UnitTests.csproj
- sh: dotnet test -c Release -f netcoreapp3.1 test/LightBDD.XUnit2.UnitTests/LightBDD.XUnit2.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.Core.UnitTests/LightBDD.Core.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.Framework.UnitTests/LightBDD.Framework.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.Framework.Reporting.UnitTests/LightBDD.Framework.Reporting.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.MsTest2.UnitTests/LightBDD.MsTest2.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.NUnit3.UnitTests/LightBDD.NUnit3.UnitTests.csproj
- sh: dotnet test -c Release -f net6 test/LightBDD.XUnit2.UnitTests/LightBDD.XUnit2.UnitTests.csproj
2 changes: 1 addition & 1 deletion examples/Example.Domain/Example.Domain.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net48</TargetFrameworks>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5;net461</TargetFrameworks>
<TargetFrameworks>net6;net48</TargetFrameworks>
<DebugType>full</DebugType>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Threading.Tasks;
using System.Text;
using System.Threading.Tasks;
using Example.Domain.Helpers;
using LightBDD.Fixie2;
using LightBDD.Framework;
using LightBDD.Framework.Reporting;

#pragma warning disable 1998

Expand All @@ -14,6 +16,7 @@ private class MailBox
{
public async Task Then_customer_should_receive_invoice()
{
await StepExecution.Current.AttachFile(m => m.CreateFromText("invoice-content", "txt", "Example invoice content", Encoding.UTF8));
StepExecution.Current.IgnoreScenario("Not implemented yet");
}

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions examples/Example.LightBDD.MsTest2.UWP/Categories.cs

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Loading

0 comments on commit 85aa481

Please sign in to comment.