This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example of a complete deployment for a more complex app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- master | |
pr: none | |
pool: | |
vmImage: 'ubuntu-latest' | |
variables: | |
- group: shared-variables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using LightBDD.Framework; | |
using LightBDD.Framework.Scenarios.Basic; | |
using LightBDD.Framework.Scenarios.Extended; | |
using LightBDD.MsTest2; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using System; | |
namespace ModeloCozinhaIndustrialExemplo2 | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xunit; | |
namespace ModeloCozinhaIndustrialExemplo2 | |
{ | |
public class PreparacaoOvoMexidoTests | |
{ | |
[Fact] | |
public void Consigo_Fazer_Um_Ovo_Mexido() | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace ModeloCozinhaIndustrial | |
{ | |
class Program | |
{ | |
public class Ingrediente | |
{ | |
public string Nome; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
open Suave | |
open Suave.Successful | |
open Suave.RequestErrors | |
open Suave.Operators | |
open Suave.RequestErrors | |
open Suave.Filters | |
open Suave.Logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Neo4jParameterSerializer () = | |
member private this.readDateField (entity) (p: PropertyInfo) = | |
p.Name, (p.GetValue(entity) :?> DateTime).ToString("yyyy-MM-dd HH:mm:ss") :> obj | |
member private this.readSimpleField entity (p: PropertyInfo) = p.Name, p.GetValue(entity).ToString() :> obj | |
member private this.readUnionField entity (p:PropertyInfo) = | |
// todo: support more complex discriminated unions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#time "on" | |
#load "Bootstrap.fsx" | |
open System | |
open Akka.Actor | |
open Akka.Configuration | |
open Akka.FSharp | |
open Akka.TestKit | |
// #Using Actor |