LogicAppUnit / TestingFramework

Unit testing framework for Azure Logic Apps (Standard)
MIT License
26 stars 13 forks source link

Support for C# Inline Action #35

Closed sschutten closed 2 months ago

sschutten commented 5 months ago

This adds support for the recently announced C# Inline Action. VS Code editor support is not there yet, however it's already possible to add csx files to the workflow by creating the files manually, where the name matches the action name.

The addition scans the logic app directory for any .csx files and copies them to the working directory at the same relative paths. The reason for scanning the whole logic app directory is because it's possible to reuse code by importing .csx files from locations outside of the workflow directory. Instead of trying to figure out which script imports which file this is the most straightforward solution.

The PR includes a test to verify the functionality.

sschutten commented 2 months ago

Bump

mark-abrams commented 2 months ago

Hi @sschutten , thank you for the contribution and apologies for the delay in sorting this out. I hope to get the next version of LogicAppUnit published to NuGet next week.

sschutten commented 1 month ago

Hi @mark-abrams, any chance you could get a new version of the NuGet package out? Would be nice yo get rid of my fork :-)

mark-abrams commented 4 weeks ago

Hi @sschutten , I have released version 1.10.0 of LogicAppUnit. Thank you for your contribution, and many apologies for the delay in shipping the new version.