-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestProgram.cs
38 lines (31 loc) · 1.2 KB
/
TestProgram.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using Xunit;
using HashiCorp.Cdktf;
using System;
using System.Collections.Generic;
namespace MyCompany.MyApp{
// The tests below are example tests, you can find more information at
// https://cdk.tf/testing
public class TestProgram{
[Fact]
public void myAppTest(){
Assert.True(true);
}
//private static TerraformStack stack = new TerraformStack(Testing.app(), "stack");
//private static MyApplicationsAbstraction appAbstraction = new MyApplicationsAbstraction(stack, "construct");
//private static string synthesized = Testing.synth(stack);
//[Fact]
//public void CheckValidity(){
// Assert.True(Testing.ToBeValidTerraform(Testing.FullSynth(stack)) );
//}
//[Fact]
//public void shouldContainContainer(){
// Assert.True(Testing.ToHaveResource(synthesized, Container.TfResourceType) );
//}
//[Fact]
//public void shouldUseUbuntuImage(){
// Assert.True(Testing.ToHaveResourceWithProperties(synthesized, Image.TfResourceType, new Dictionary<String, Object>() {
// {"name", "ubuntu:latest"}
// }) );
//}
}
}