From 16312fd39a4ba9bedba35b1c5cb83daae5c3a3fe Mon Sep 17 00:00:00 2001 From: thomhurst Date: Sun, 29 Dec 2024 15:57:01 +0000 Subject: [PATCH] deploy: ecc5df60a16270f88e8c21a60e33165f36df01cc --- 404.html | 2 +- assets/js/{e1f02bbc.e15a11b9.js => e1f02bbc.4a02b23d.js} | 2 +- .../{runtime~main.55cf3ae1.js => runtime~main.c57951dc.js} | 2 +- docs/category/extensions/index.html | 2 +- docs/category/test-framework-comparisons/index.html | 2 +- docs/category/tutorial---assertions/index.html | 2 +- docs/category/tutorial---basics/index.html | 2 +- docs/category/tutorial---extras/index.html | 2 +- docs/comparison/attributes/index.html | 2 +- docs/comparison/framework-differences/index.html | 2 +- docs/extensions/index.html | 2 +- docs/intro/index.html | 2 +- docs/tutorial-assertions/and-conditions/index.html | 2 +- docs/tutorial-assertions/assertion-groups/index.html | 2 +- docs/tutorial-assertions/awaiting/index.html | 2 +- docs/tutorial-assertions/congratulations/index.html | 2 +- docs/tutorial-assertions/delegates/index.html | 2 +- docs/tutorial-assertions/extensibility/index.html | 2 +- docs/tutorial-assertions/or-conditions/index.html | 2 +- docs/tutorial-assertions/scopes/index.html | 2 +- docs/tutorial-assertions/type-checking/index.html | 2 +- docs/tutorial-basics/class-data-source/index.html | 2 +- docs/tutorial-basics/congratulations/index.html | 2 +- docs/tutorial-basics/data-driven-tests/index.html | 2 +- docs/tutorial-basics/installing/index.html | 6 +++--- docs/tutorial-basics/libraries/index.html | 2 +- docs/tutorial-basics/matrix-tests/index.html | 2 +- docs/tutorial-basics/method-data-source/index.html | 2 +- docs/tutorial-basics/running-your-tests/index.html | 2 +- docs/tutorial-basics/things-to-know/index.html | 2 +- docs/tutorial-basics/writing-your-first-test/index.html | 2 +- docs/tutorial-extras/class-constructors/index.html | 2 +- docs/tutorial-extras/cleanup/index.html | 2 +- docs/tutorial-extras/command-line-flags/index.html | 2 +- docs/tutorial-extras/data-source-generators/index.html | 2 +- docs/tutorial-extras/depends-on/index.html | 2 +- docs/tutorial-extras/event-subscribing/index.html | 2 +- docs/tutorial-extras/executors/index.html | 2 +- docs/tutorial-extras/explicit/index.html | 2 +- docs/tutorial-extras/not-in-parallel/index.html | 2 +- docs/tutorial-extras/order/index.html | 2 +- docs/tutorial-extras/parallel-groups/index.html | 2 +- docs/tutorial-extras/parallel-limiter/index.html | 2 +- docs/tutorial-extras/properties/index.html | 2 +- docs/tutorial-extras/property-injection/index.html | 2 +- docs/tutorial-extras/repeating/index.html | 2 +- docs/tutorial-extras/retrying/index.html | 2 +- docs/tutorial-extras/setup/index.html | 2 +- docs/tutorial-extras/test-context/index.html | 2 +- docs/tutorial-extras/test-filters/index.html | 2 +- docs/tutorial-extras/timeouts/index.html | 2 +- index.html | 2 +- markdown-page/index.html | 2 +- 53 files changed, 55 insertions(+), 55 deletions(-) rename assets/js/{e1f02bbc.e15a11b9.js => e1f02bbc.4a02b23d.js} (74%) rename assets/js/{runtime~main.55cf3ae1.js => runtime~main.c57951dc.js} (98%) diff --git a/404.html b/404.html index ce32181054..62da7c1333 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | TUnit - + diff --git a/assets/js/e1f02bbc.e15a11b9.js b/assets/js/e1f02bbc.4a02b23d.js similarity index 74% rename from assets/js/e1f02bbc.e15a11b9.js rename to assets/js/e1f02bbc.4a02b23d.js index c3781ec6bc..157df198b1 100644 --- a/assets/js/e1f02bbc.e15a11b9.js +++ b/assets/js/e1f02bbc.4a02b23d.js @@ -1 +1 @@ -"use strict";(self.webpackChunktunit_docs_site=self.webpackChunktunit_docs_site||[]).push([[7326],{7342:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"tutorial-basics/installing","title":"Installing TUnit","description":"First create an empty .NET console application:","source":"@site/docs/tutorial-basics/installing.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/installing","permalink":"/TUnit/docs/tutorial-basics/installing","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/TUnit/docs/category/tutorial---basics"},"next":{"title":"Writing your first test","permalink":"/TUnit/docs/tutorial-basics/writing-your-first-test"}}');var r=n(4848),s=n(8453);const o={sidebar_position:1},a="Installing TUnit",l={},c=[{value:"Incompatibilities",id:"incompatibilities",level:2},{value:".NET Framework",id:"net-framework",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"installing-tunit",children:"Installing TUnit"})}),"\n",(0,r.jsx)(t.p,{children:"First create an empty .NET console application:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-powershell",children:"dotnet new console --name YourTestProjectNameHere\n"})}),"\n",(0,r.jsxs)(t.p,{children:["To that project add the ",(0,r.jsx)(t.code,{children:"TUnit"})," package:"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-powershell",children:"cd YourTestProjectNameHere\ndotnet add package TUnit --prerelease\n"})}),"\n",(0,r.jsxs)(t.p,{children:["And then remove any automatically generated ",(0,r.jsx)(t.code,{children:"Program.cs"})," or main method, as this'll be taken care of by the TUnit package."]}),"\n",(0,r.jsx)(t.p,{children:"That's it. We're ready to write our first test."}),"\n",(0,r.jsxs)(t.p,{children:["Your ",(0,r.jsx)(t.code,{children:".csproj"})," should be as simple as something like:"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-xml",children:'\n\n \n Exe\n net8.0\n enable\n enable\n \n\n \n \n \n\n\n'})}),"\n",(0,r.jsx)(t.h2,{id:"incompatibilities",children:"Incompatibilities"}),"\n",(0,r.jsxs)(t.p,{children:["If you're used to other testing frameworks, you're probably used to the package ",(0,r.jsx)(t.code,{children:"Microsoft.NET.Test.Sdk"}),".\nThis should NOT be used with TUnit. It'll stop test discovery from working properly."]}),"\n",(0,r.jsx)(t.h2,{id:"net-framework",children:".NET Framework"}),"\n",(0,r.jsxs)(t.p,{children:["If you are still targeting .NET Framework, you may have compilation errors around missing types, such as the ",(0,r.jsx)(t.code,{children:"ModuleInitialiserAttribute"}),".\nThese are looked at by the compiler, not the runtime, so you can define them yourselves or use a polyfill library. Using a Polyfill library is the easiest, for example, just reference the NuGet package ",(0,r.jsx)(t.code,{children:"Polyfill"}),"."]})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>a});var i=n(6540);const r={},s=i.createContext(r);function o(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunktunit_docs_site=self.webpackChunktunit_docs_site||[]).push([[7326],{7342:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"tutorial-basics/installing","title":"Installing TUnit","description":"First create an empty .NET console application:","source":"@site/docs/tutorial-basics/installing.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/installing","permalink":"/TUnit/docs/tutorial-basics/installing","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/TUnit/docs/category/tutorial---basics"},"next":{"title":"Writing your first test","permalink":"/TUnit/docs/tutorial-basics/writing-your-first-test"}}');var r=n(4848),s=n(8453);const o={sidebar_position:1},a="Installing TUnit",l={},c=[{value:"Incompatibilities",id:"incompatibilities",level:2},{value:".NET Framework",id:"net-framework",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"installing-tunit",children:"Installing TUnit"})}),"\n",(0,r.jsx)(t.p,{children:"First create an empty .NET console application:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-powershell",children:"dotnet new console --name YourTestProjectNameHere\n"})}),"\n",(0,r.jsxs)(t.p,{children:["To that project add the ",(0,r.jsx)(t.code,{children:"TUnit"})," package:"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-powershell",children:"cd YourTestProjectNameHere\ndotnet add package TUnit --prerelease\n"})}),"\n",(0,r.jsxs)(t.p,{children:["And then remove any automatically generated ",(0,r.jsx)(t.code,{children:"Program.cs"})," or main method, as this'll be taken care of by the TUnit package."]}),"\n",(0,r.jsx)(t.p,{children:"That's it. We're ready to write our first test."}),"\n",(0,r.jsxs)(t.p,{children:["Your ",(0,r.jsx)(t.code,{children:".csproj"})," should be as simple as something like:"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-xml",children:'\n\n \n Exe\n net8.0\n enable\n enable\n \n\n \n \n \n\n\n'})}),"\n",(0,r.jsx)(t.h2,{id:"incompatibilities",children:"Incompatibilities"}),"\n",(0,r.jsxs)(t.p,{children:["If you're used to other testing frameworks, you're probably used to the package ",(0,r.jsx)(t.code,{children:"Microsoft.NET.Test.Sdk"}),".\nThis should NOT be used with TUnit. It'll stop test discovery from working properly."]}),"\n",(0,r.jsx)(t.h2,{id:"net-framework",children:".NET Framework"}),"\n",(0,r.jsxs)(t.p,{children:["If you are still targeting .NET Framework, TUnit will try to Polyfill some missing types that are used by the compiler, such as the ",(0,r.jsx)(t.code,{children:"ModuleInitialiserAttribute"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["If you have issues with other Polyfill libraries also defining them, in your project files, you can define the property ",(0,r.jsx)(t.code,{children:"false"})]})]})}function p(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>a});var i=n(6540);const r={},s=i.createContext(r);function o(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.55cf3ae1.js b/assets/js/runtime~main.c57951dc.js similarity index 98% rename from assets/js/runtime~main.55cf3ae1.js rename to assets/js/runtime~main.c57951dc.js index 4d10a28951..fb122f0dd4 100644 --- a/assets/js/runtime~main.55cf3ae1.js +++ b/assets/js/runtime~main.c57951dc.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,b,c,d={},r={};function f(e){var a=r[e];if(void 0!==a)return a.exports;var t=r[e]={exports:{}};return d[e].call(t.exports,t,t.exports,f),t.exports}f.m=d,e=[],f.O=(a,t,b,c)=>{if(!t){var d=1/0;for(i=0;i=c)&&Object.keys(f.O).every((e=>f.O[e](t[o])))?t.splice(o--,1):(r=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[t,b,c]},f.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return f.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var c=Object.create(null);f.r(c);var d={};a=a||[null,t({}),t([]),t(t)];for(var r=2&b&&e;"object"==typeof r&&!~a.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,f.d(c,d),c},f.d=(e,a)=>{for(var t in a)f.o(a,t)&&!f.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((a,t)=>(f.f[t](e,a),a)),[])),f.u=e=>"assets/js/"+({568:"26e4ff2b",570:"91d5c99e",1114:"e322696d",1235:"a7456010",1500:"5bed7376",1647:"b1a8519a",1745:"e9b3e67e",1747:"f7b7b503",2225:"4b18aed1",2321:"ba8db043",2473:"b3030475",2590:"8ff4cdb2",2748:"822bd8ab",2801:"6694e4aa",2984:"c566dcac",3398:"8b1309c7",3487:"60a9c782",3604:"5c580d35",3818:"7c0d1a7d",3976:"0e384e19",4031:"465fdebd",4134:"393be207",4298:"13e939a4",4583:"1df93b7f",4761:"13f17bf8",4956:"e10a8de7",5385:"49aa2eea",5742:"aba21aa0",5770:"6a12013c",5803:"f08d5324",6061:"1f391b9e",6168:"49462f00",6220:"5dbdde90",6458:"58d4c641",6532:"914d3ab3",6538:"a34b2a44",6617:"cb1d92ed",6866:"73e1c817",6905:"991d4a8b",6969:"14eb3368",7098:"a7bd4aaa",7326:"e1f02bbc",7543:"55c176cd",7564:"2a9ef78c",7846:"be2154f8",7969:"4c5555c4",8401:"17896441",8584:"ba7c896e",8642:"9f69b8de",8715:"d3238b2f",8732:"8b247495",8887:"12f8ba17",9048:"a94703ab",9069:"3609cdcd",9081:"85aaec92",9132:"4c362b47",9372:"a66eab3e",9647:"5e95c892",9814:"6a21048e"}[e]||e)+"."+{568:"59a5f9ab",570:"7bc3e163",1114:"57d1e704",1235:"1b4d7e11",1500:"1106c1a5",1647:"282cd2cd",1745:"c17d7ec8",1747:"d9dea6b6",2225:"e0d68166",2321:"2fe09cf5",2473:"9991e0ba",2590:"8ec730b6",2748:"6cf4d69f",2801:"5ebefda6",2984:"7f995684",3398:"ccb4e2cf",3487:"a5690efe",3604:"d8ad35b6",3726:"544231b5",3818:"a1ea5e0e",3976:"6b209be7",4031:"23f53119",4134:"a8ee41a2",4298:"47b824e8",4583:"76d773b2",4761:"59505765",4896:"25b1cf94",4956:"edb6e9ac",5385:"d15be81b",5742:"f183b5b5",5770:"a7355ae5",5803:"2cf0923a",6061:"71161e3c",6168:"53d33f4c",6220:"f2e6cf4b",6458:"f186202b",6532:"8a28ec75",6538:"64173a6c",6617:"27f14287",6866:"aecc372e",6905:"308af1bb",6969:"5e588021",7098:"cf78a617",7326:"e15a11b9",7543:"67a1bd21",7564:"d27b2e18",7846:"6b58fcd9",7969:"c0a83f77",8401:"953f2b9e",8584:"239ce384",8642:"75ad662a",8715:"12da10ac",8732:"bfbbc24c",8887:"4900363b",9048:"ce20f8b2",9069:"b684f686",9081:"2f0d8c44",9132:"be9fcd41",9372:"453f4f9a",9647:"1d40b763",9814:"5adf3f51"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},c="tunit-docs-site:",f.l=(e,a,t,d)=>{if(b[e])b[e].push(a);else{var r,o;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var c=b[e];if(delete b[e],r.parentNode&&r.parentNode.removeChild(r),c&&c.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/TUnit/",f.gca=function(e){return e={17896441:"8401","26e4ff2b":"568","91d5c99e":"570",e322696d:"1114",a7456010:"1235","5bed7376":"1500",b1a8519a:"1647",e9b3e67e:"1745",f7b7b503:"1747","4b18aed1":"2225",ba8db043:"2321",b3030475:"2473","8ff4cdb2":"2590","822bd8ab":"2748","6694e4aa":"2801",c566dcac:"2984","8b1309c7":"3398","60a9c782":"3487","5c580d35":"3604","7c0d1a7d":"3818","0e384e19":"3976","465fdebd":"4031","393be207":"4134","13e939a4":"4298","1df93b7f":"4583","13f17bf8":"4761",e10a8de7:"4956","49aa2eea":"5385",aba21aa0:"5742","6a12013c":"5770",f08d5324:"5803","1f391b9e":"6061","49462f00":"6168","5dbdde90":"6220","58d4c641":"6458","914d3ab3":"6532",a34b2a44:"6538",cb1d92ed:"6617","73e1c817":"6866","991d4a8b":"6905","14eb3368":"6969",a7bd4aaa:"7098",e1f02bbc:"7326","55c176cd":"7543","2a9ef78c":"7564",be2154f8:"7846","4c5555c4":"7969",ba7c896e:"8584","9f69b8de":"8642",d3238b2f:"8715","8b247495":"8732","12f8ba17":"8887",a94703ab:"9048","3609cdcd":"9069","85aaec92":"9081","4c362b47":"9132",a66eab3e:"9372","5e95c892":"9647","6a21048e":"9814"}[e]||e,f.p+f.u(e)},(()=>{var e={5354:0,1869:0};f.f.j=(a,t)=>{var b=f.o(e,a)?e[a]:void 0;if(0!==b)if(b)t.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((t,c)=>b=e[a]=[t,c]));t.push(b[2]=c);var d=f.p+f.u(a),r=new Error;f.l(d,(t=>{if(f.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var c=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+d+")",r.name="ChunkLoadError",r.type=c,r.request=d,b[1](r)}}),"chunk-"+a,a)}},f.O.j=a=>0===e[a];var a=(a,t)=>{var b,c,d=t[0],r=t[1],o=t[2],n=0;if(d.some((a=>0!==e[a]))){for(b in r)f.o(r,b)&&(f.m[b]=r[b]);if(o)var i=o(f)}for(a&&a(t);n{"use strict";var e,a,t,b,c,d={},r={};function f(e){var a=r[e];if(void 0!==a)return a.exports;var t=r[e]={exports:{}};return d[e].call(t.exports,t,t.exports,f),t.exports}f.m=d,e=[],f.O=(a,t,b,c)=>{if(!t){var d=1/0;for(i=0;i=c)&&Object.keys(f.O).every((e=>f.O[e](t[o])))?t.splice(o--,1):(r=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[t,b,c]},f.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return f.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var c=Object.create(null);f.r(c);var d={};a=a||[null,t({}),t([]),t(t)];for(var r=2&b&&e;"object"==typeof r&&!~a.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,f.d(c,d),c},f.d=(e,a)=>{for(var t in a)f.o(a,t)&&!f.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((a,t)=>(f.f[t](e,a),a)),[])),f.u=e=>"assets/js/"+({568:"26e4ff2b",570:"91d5c99e",1114:"e322696d",1235:"a7456010",1500:"5bed7376",1647:"b1a8519a",1745:"e9b3e67e",1747:"f7b7b503",2225:"4b18aed1",2321:"ba8db043",2473:"b3030475",2590:"8ff4cdb2",2748:"822bd8ab",2801:"6694e4aa",2984:"c566dcac",3398:"8b1309c7",3487:"60a9c782",3604:"5c580d35",3818:"7c0d1a7d",3976:"0e384e19",4031:"465fdebd",4134:"393be207",4298:"13e939a4",4583:"1df93b7f",4761:"13f17bf8",4956:"e10a8de7",5385:"49aa2eea",5742:"aba21aa0",5770:"6a12013c",5803:"f08d5324",6061:"1f391b9e",6168:"49462f00",6220:"5dbdde90",6458:"58d4c641",6532:"914d3ab3",6538:"a34b2a44",6617:"cb1d92ed",6866:"73e1c817",6905:"991d4a8b",6969:"14eb3368",7098:"a7bd4aaa",7326:"e1f02bbc",7543:"55c176cd",7564:"2a9ef78c",7846:"be2154f8",7969:"4c5555c4",8401:"17896441",8584:"ba7c896e",8642:"9f69b8de",8715:"d3238b2f",8732:"8b247495",8887:"12f8ba17",9048:"a94703ab",9069:"3609cdcd",9081:"85aaec92",9132:"4c362b47",9372:"a66eab3e",9647:"5e95c892",9814:"6a21048e"}[e]||e)+"."+{568:"59a5f9ab",570:"7bc3e163",1114:"57d1e704",1235:"1b4d7e11",1500:"1106c1a5",1647:"282cd2cd",1745:"c17d7ec8",1747:"d9dea6b6",2225:"e0d68166",2321:"2fe09cf5",2473:"9991e0ba",2590:"8ec730b6",2748:"6cf4d69f",2801:"5ebefda6",2984:"7f995684",3398:"ccb4e2cf",3487:"a5690efe",3604:"d8ad35b6",3726:"544231b5",3818:"a1ea5e0e",3976:"6b209be7",4031:"23f53119",4134:"a8ee41a2",4298:"47b824e8",4583:"76d773b2",4761:"59505765",4896:"25b1cf94",4956:"edb6e9ac",5385:"d15be81b",5742:"f183b5b5",5770:"a7355ae5",5803:"2cf0923a",6061:"71161e3c",6168:"53d33f4c",6220:"f2e6cf4b",6458:"f186202b",6532:"8a28ec75",6538:"64173a6c",6617:"27f14287",6866:"aecc372e",6905:"308af1bb",6969:"5e588021",7098:"cf78a617",7326:"4a02b23d",7543:"67a1bd21",7564:"d27b2e18",7846:"6b58fcd9",7969:"c0a83f77",8401:"953f2b9e",8584:"239ce384",8642:"75ad662a",8715:"12da10ac",8732:"bfbbc24c",8887:"4900363b",9048:"ce20f8b2",9069:"b684f686",9081:"2f0d8c44",9132:"be9fcd41",9372:"453f4f9a",9647:"1d40b763",9814:"5adf3f51"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},c="tunit-docs-site:",f.l=(e,a,t,d)=>{if(b[e])b[e].push(a);else{var r,o;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var c=b[e];if(delete b[e],r.parentNode&&r.parentNode.removeChild(r),c&&c.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/TUnit/",f.gca=function(e){return e={17896441:"8401","26e4ff2b":"568","91d5c99e":"570",e322696d:"1114",a7456010:"1235","5bed7376":"1500",b1a8519a:"1647",e9b3e67e:"1745",f7b7b503:"1747","4b18aed1":"2225",ba8db043:"2321",b3030475:"2473","8ff4cdb2":"2590","822bd8ab":"2748","6694e4aa":"2801",c566dcac:"2984","8b1309c7":"3398","60a9c782":"3487","5c580d35":"3604","7c0d1a7d":"3818","0e384e19":"3976","465fdebd":"4031","393be207":"4134","13e939a4":"4298","1df93b7f":"4583","13f17bf8":"4761",e10a8de7:"4956","49aa2eea":"5385",aba21aa0:"5742","6a12013c":"5770",f08d5324:"5803","1f391b9e":"6061","49462f00":"6168","5dbdde90":"6220","58d4c641":"6458","914d3ab3":"6532",a34b2a44:"6538",cb1d92ed:"6617","73e1c817":"6866","991d4a8b":"6905","14eb3368":"6969",a7bd4aaa:"7098",e1f02bbc:"7326","55c176cd":"7543","2a9ef78c":"7564",be2154f8:"7846","4c5555c4":"7969",ba7c896e:"8584","9f69b8de":"8642",d3238b2f:"8715","8b247495":"8732","12f8ba17":"8887",a94703ab:"9048","3609cdcd":"9069","85aaec92":"9081","4c362b47":"9132",a66eab3e:"9372","5e95c892":"9647","6a21048e":"9814"}[e]||e,f.p+f.u(e)},(()=>{var e={5354:0,1869:0};f.f.j=(a,t)=>{var b=f.o(e,a)?e[a]:void 0;if(0!==b)if(b)t.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((t,c)=>b=e[a]=[t,c]));t.push(b[2]=c);var d=f.p+f.u(a),r=new Error;f.l(d,(t=>{if(f.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var c=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+d+")",r.name="ChunkLoadError",r.type=c,r.request=d,b[1](r)}}),"chunk-"+a,a)}},f.O.j=a=>0===e[a];var a=(a,t)=>{var b,c,d=t[0],r=t[1],o=t[2],n=0;if(d.some((a=>0!==e[a]))){for(b in r)f.o(r,b)&&(f.m[b]=r[b]);if(o)var i=o(f)}for(a&&a(t);n Extensions | TUnit - + diff --git a/docs/category/test-framework-comparisons/index.html b/docs/category/test-framework-comparisons/index.html index 435665b3a3..b1feb2b5c0 100644 --- a/docs/category/test-framework-comparisons/index.html +++ b/docs/category/test-framework-comparisons/index.html @@ -4,7 +4,7 @@ Test Framework Comparisons | TUnit - + diff --git a/docs/category/tutorial---assertions/index.html b/docs/category/tutorial---assertions/index.html index 9e23cd3db3..37fafa31da 100644 --- a/docs/category/tutorial---assertions/index.html +++ b/docs/category/tutorial---assertions/index.html @@ -4,7 +4,7 @@ Tutorial - Assertions | TUnit - + diff --git a/docs/category/tutorial---basics/index.html b/docs/category/tutorial---basics/index.html index 579b555448..b261a5f836 100644 --- a/docs/category/tutorial---basics/index.html +++ b/docs/category/tutorial---basics/index.html @@ -4,7 +4,7 @@ Tutorial - Basics | TUnit - + diff --git a/docs/category/tutorial---extras/index.html b/docs/category/tutorial---extras/index.html index ae8eefbd45..7f8ac44251 100644 --- a/docs/category/tutorial---extras/index.html +++ b/docs/category/tutorial---extras/index.html @@ -4,7 +4,7 @@ Tutorial - Extras | TUnit - + diff --git a/docs/comparison/attributes/index.html b/docs/comparison/attributes/index.html index 76985d4cbc..6f2dfba592 100644 --- a/docs/comparison/attributes/index.html +++ b/docs/comparison/attributes/index.html @@ -4,7 +4,7 @@ Attributes | TUnit - + diff --git a/docs/comparison/framework-differences/index.html b/docs/comparison/framework-differences/index.html index af7c5bc983..fc344165d0 100644 --- a/docs/comparison/framework-differences/index.html +++ b/docs/comparison/framework-differences/index.html @@ -4,7 +4,7 @@ Framework Differences | TUnit - + diff --git a/docs/extensions/index.html b/docs/extensions/index.html index 1df0701d85..ec0c9b2071 100644 --- a/docs/extensions/index.html +++ b/docs/extensions/index.html @@ -4,7 +4,7 @@ Extensions | TUnit - + diff --git a/docs/intro/index.html b/docs/intro/index.html index 15b022c3e4..770d089f28 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -4,7 +4,7 @@ Intro | TUnit - + diff --git a/docs/tutorial-assertions/and-conditions/index.html b/docs/tutorial-assertions/and-conditions/index.html index 9437de2dff..df21f92622 100644 --- a/docs/tutorial-assertions/and-conditions/index.html +++ b/docs/tutorial-assertions/and-conditions/index.html @@ -4,7 +4,7 @@ And Conditions | TUnit - + diff --git a/docs/tutorial-assertions/assertion-groups/index.html b/docs/tutorial-assertions/assertion-groups/index.html index 4c019accda..5320c103d3 100644 --- a/docs/tutorial-assertions/assertion-groups/index.html +++ b/docs/tutorial-assertions/assertion-groups/index.html @@ -4,7 +4,7 @@ Assertion Groups | TUnit - + diff --git a/docs/tutorial-assertions/awaiting/index.html b/docs/tutorial-assertions/awaiting/index.html index a8488e9baf..c30a4d1e5a 100644 --- a/docs/tutorial-assertions/awaiting/index.html +++ b/docs/tutorial-assertions/awaiting/index.html @@ -4,7 +4,7 @@ Awaiting | TUnit - + diff --git a/docs/tutorial-assertions/congratulations/index.html b/docs/tutorial-assertions/congratulations/index.html index 31369fe111..f00e805d92 100644 --- a/docs/tutorial-assertions/congratulations/index.html +++ b/docs/tutorial-assertions/congratulations/index.html @@ -4,7 +4,7 @@ Congratulations | TUnit - + diff --git a/docs/tutorial-assertions/delegates/index.html b/docs/tutorial-assertions/delegates/index.html index 8c36a86b76..508d9ba6fc 100644 --- a/docs/tutorial-assertions/delegates/index.html +++ b/docs/tutorial-assertions/delegates/index.html @@ -4,7 +4,7 @@ Delegates | TUnit - + diff --git a/docs/tutorial-assertions/extensibility/index.html b/docs/tutorial-assertions/extensibility/index.html index c21c108b10..606a3f35f6 100644 --- a/docs/tutorial-assertions/extensibility/index.html +++ b/docs/tutorial-assertions/extensibility/index.html @@ -4,7 +4,7 @@ Extensibility / Custom Assertions | TUnit - + diff --git a/docs/tutorial-assertions/or-conditions/index.html b/docs/tutorial-assertions/or-conditions/index.html index 3b0e498b6b..a839c87665 100644 --- a/docs/tutorial-assertions/or-conditions/index.html +++ b/docs/tutorial-assertions/or-conditions/index.html @@ -4,7 +4,7 @@ Or Conditions | TUnit - + diff --git a/docs/tutorial-assertions/scopes/index.html b/docs/tutorial-assertions/scopes/index.html index 270a695bc8..f56d867411 100644 --- a/docs/tutorial-assertions/scopes/index.html +++ b/docs/tutorial-assertions/scopes/index.html @@ -4,7 +4,7 @@ Assertion Scopes | TUnit - + diff --git a/docs/tutorial-assertions/type-checking/index.html b/docs/tutorial-assertions/type-checking/index.html index dc4a5a790d..5e6eb674a0 100644 --- a/docs/tutorial-assertions/type-checking/index.html +++ b/docs/tutorial-assertions/type-checking/index.html @@ -4,7 +4,7 @@ Type Checking | TUnit - + diff --git a/docs/tutorial-basics/class-data-source/index.html b/docs/tutorial-basics/class-data-source/index.html index 071ea98c0d..4ff45ce031 100644 --- a/docs/tutorial-basics/class-data-source/index.html +++ b/docs/tutorial-basics/class-data-source/index.html @@ -4,7 +4,7 @@ Injectable Class Data Source | TUnit - + diff --git a/docs/tutorial-basics/congratulations/index.html b/docs/tutorial-basics/congratulations/index.html index 2ca9220db9..5077d54819 100644 --- a/docs/tutorial-basics/congratulations/index.html +++ b/docs/tutorial-basics/congratulations/index.html @@ -4,7 +4,7 @@ Congratulations! | TUnit - + diff --git a/docs/tutorial-basics/data-driven-tests/index.html b/docs/tutorial-basics/data-driven-tests/index.html index 4011837790..afad87d25c 100644 --- a/docs/tutorial-basics/data-driven-tests/index.html +++ b/docs/tutorial-basics/data-driven-tests/index.html @@ -4,7 +4,7 @@ Data Driven Tests | TUnit - + diff --git a/docs/tutorial-basics/installing/index.html b/docs/tutorial-basics/installing/index.html index a4267fa8db..6ec9a14ef2 100644 --- a/docs/tutorial-basics/installing/index.html +++ b/docs/tutorial-basics/installing/index.html @@ -4,7 +4,7 @@ Installing TUnit | TUnit - + @@ -21,7 +21,7 @@

Incompatib

If you're used to other testing frameworks, you're probably used to the package Microsoft.NET.Test.Sdk. This should NOT be used with TUnit. It'll stop test discovery from working properly.

.NET Framework​

-

If you are still targeting .NET Framework, you may have compilation errors around missing types, such as the ModuleInitialiserAttribute. -These are looked at by the compiler, not the runtime, so you can define them yourselves or use a polyfill library. Using a Polyfill library is the easiest, for example, just reference the NuGet package Polyfill.

+

If you are still targeting .NET Framework, TUnit will try to Polyfill some missing types that are used by the compiler, such as the ModuleInitialiserAttribute.

+

If you have issues with other Polyfill libraries also defining them, in your project files, you can define the property <EnableTUnitPolyfills>false</EnableTUnitPolyfills>

\ No newline at end of file diff --git a/docs/tutorial-basics/libraries/index.html b/docs/tutorial-basics/libraries/index.html index 67ff752cb3..92a1209444 100644 --- a/docs/tutorial-basics/libraries/index.html +++ b/docs/tutorial-basics/libraries/index.html @@ -4,7 +4,7 @@ Libraries | TUnit - + diff --git a/docs/tutorial-basics/matrix-tests/index.html b/docs/tutorial-basics/matrix-tests/index.html index 4691abc52d..4c063a9603 100644 --- a/docs/tutorial-basics/matrix-tests/index.html +++ b/docs/tutorial-basics/matrix-tests/index.html @@ -4,7 +4,7 @@ Matrix Tests | TUnit - + diff --git a/docs/tutorial-basics/method-data-source/index.html b/docs/tutorial-basics/method-data-source/index.html index 4982dcc7e3..03eb563c58 100644 --- a/docs/tutorial-basics/method-data-source/index.html +++ b/docs/tutorial-basics/method-data-source/index.html @@ -4,7 +4,7 @@ Method Data Sources | TUnit - + diff --git a/docs/tutorial-basics/running-your-tests/index.html b/docs/tutorial-basics/running-your-tests/index.html index 0d3b1b8a44..62eb2d7b81 100644 --- a/docs/tutorial-basics/running-your-tests/index.html +++ b/docs/tutorial-basics/running-your-tests/index.html @@ -4,7 +4,7 @@ Running your tests | TUnit - + diff --git a/docs/tutorial-basics/things-to-know/index.html b/docs/tutorial-basics/things-to-know/index.html index 08d9b1b678..62d868fdc6 100644 --- a/docs/tutorial-basics/things-to-know/index.html +++ b/docs/tutorial-basics/things-to-know/index.html @@ -4,7 +4,7 @@ Things to know | TUnit - + diff --git a/docs/tutorial-basics/writing-your-first-test/index.html b/docs/tutorial-basics/writing-your-first-test/index.html index b4e603de31..da73421f80 100644 --- a/docs/tutorial-basics/writing-your-first-test/index.html +++ b/docs/tutorial-basics/writing-your-first-test/index.html @@ -4,7 +4,7 @@ Writing your first test | TUnit - + diff --git a/docs/tutorial-extras/class-constructors/index.html b/docs/tutorial-extras/class-constructors/index.html index 532b0e59ad..d2d9b905c3 100644 --- a/docs/tutorial-extras/class-constructors/index.html +++ b/docs/tutorial-extras/class-constructors/index.html @@ -4,7 +4,7 @@ Class Constructor Helpers | TUnit - + diff --git a/docs/tutorial-extras/cleanup/index.html b/docs/tutorial-extras/cleanup/index.html index 5bbddee77a..fb3c41f919 100644 --- a/docs/tutorial-extras/cleanup/index.html +++ b/docs/tutorial-extras/cleanup/index.html @@ -4,7 +4,7 @@ Test Clean Ups | TUnit - + diff --git a/docs/tutorial-extras/command-line-flags/index.html b/docs/tutorial-extras/command-line-flags/index.html index 9e196b6b30..ac75e3378b 100644 --- a/docs/tutorial-extras/command-line-flags/index.html +++ b/docs/tutorial-extras/command-line-flags/index.html @@ -4,7 +4,7 @@ Command Line Flags | TUnit - + diff --git a/docs/tutorial-extras/data-source-generators/index.html b/docs/tutorial-extras/data-source-generators/index.html index a427f2c835..3eadc091e1 100644 --- a/docs/tutorial-extras/data-source-generators/index.html +++ b/docs/tutorial-extras/data-source-generators/index.html @@ -4,7 +4,7 @@ Data Source Generators | TUnit - + diff --git a/docs/tutorial-extras/depends-on/index.html b/docs/tutorial-extras/depends-on/index.html index 1c11a6b90e..56ae8b4aab 100644 --- a/docs/tutorial-extras/depends-on/index.html +++ b/docs/tutorial-extras/depends-on/index.html @@ -4,7 +4,7 @@ Depends On | TUnit - + diff --git a/docs/tutorial-extras/event-subscribing/index.html b/docs/tutorial-extras/event-subscribing/index.html index 8bda183687..763eafab3f 100644 --- a/docs/tutorial-extras/event-subscribing/index.html +++ b/docs/tutorial-extras/event-subscribing/index.html @@ -4,7 +4,7 @@ Attribute Event Subscribing | TUnit - + diff --git a/docs/tutorial-extras/executors/index.html b/docs/tutorial-extras/executors/index.html index b72a3d264c..1e6cb96494 100644 --- a/docs/tutorial-extras/executors/index.html +++ b/docs/tutorial-extras/executors/index.html @@ -4,7 +4,7 @@ Executors | TUnit - + diff --git a/docs/tutorial-extras/explicit/index.html b/docs/tutorial-extras/explicit/index.html index eadfde3518..bda1cd6e2c 100644 --- a/docs/tutorial-extras/explicit/index.html +++ b/docs/tutorial-extras/explicit/index.html @@ -4,7 +4,7 @@ Explicit | TUnit - + diff --git a/docs/tutorial-extras/not-in-parallel/index.html b/docs/tutorial-extras/not-in-parallel/index.html index 52fb72115a..6bcd442f95 100644 --- a/docs/tutorial-extras/not-in-parallel/index.html +++ b/docs/tutorial-extras/not-in-parallel/index.html @@ -4,7 +4,7 @@ Not in Parallel | TUnit - + diff --git a/docs/tutorial-extras/order/index.html b/docs/tutorial-extras/order/index.html index 7589e91d8a..1644b8c669 100644 --- a/docs/tutorial-extras/order/index.html +++ b/docs/tutorial-extras/order/index.html @@ -4,7 +4,7 @@ Ordering Tests | TUnit - + diff --git a/docs/tutorial-extras/parallel-groups/index.html b/docs/tutorial-extras/parallel-groups/index.html index 823948009c..42e6554701 100644 --- a/docs/tutorial-extras/parallel-groups/index.html +++ b/docs/tutorial-extras/parallel-groups/index.html @@ -4,7 +4,7 @@ Parallel Groups | TUnit - + diff --git a/docs/tutorial-extras/parallel-limiter/index.html b/docs/tutorial-extras/parallel-limiter/index.html index 3e99155077..9918d999ee 100644 --- a/docs/tutorial-extras/parallel-limiter/index.html +++ b/docs/tutorial-extras/parallel-limiter/index.html @@ -4,7 +4,7 @@ Parallel Limiter | TUnit - + diff --git a/docs/tutorial-extras/properties/index.html b/docs/tutorial-extras/properties/index.html index ee3f286096..93a538f8a2 100644 --- a/docs/tutorial-extras/properties/index.html +++ b/docs/tutorial-extras/properties/index.html @@ -4,7 +4,7 @@ Properties | TUnit - + diff --git a/docs/tutorial-extras/property-injection/index.html b/docs/tutorial-extras/property-injection/index.html index 2cecb1217c..2151d66ec7 100644 --- a/docs/tutorial-extras/property-injection/index.html +++ b/docs/tutorial-extras/property-injection/index.html @@ -4,7 +4,7 @@ Property Injection | TUnit - + diff --git a/docs/tutorial-extras/repeating/index.html b/docs/tutorial-extras/repeating/index.html index 50403ca115..881182250b 100644 --- a/docs/tutorial-extras/repeating/index.html +++ b/docs/tutorial-extras/repeating/index.html @@ -4,7 +4,7 @@ Repeating | TUnit - + diff --git a/docs/tutorial-extras/retrying/index.html b/docs/tutorial-extras/retrying/index.html index 363ef44d3d..d455378619 100644 --- a/docs/tutorial-extras/retrying/index.html +++ b/docs/tutorial-extras/retrying/index.html @@ -4,7 +4,7 @@ Retrying | TUnit - + diff --git a/docs/tutorial-extras/setup/index.html b/docs/tutorial-extras/setup/index.html index 3504e2483a..9111a93b57 100644 --- a/docs/tutorial-extras/setup/index.html +++ b/docs/tutorial-extras/setup/index.html @@ -4,7 +4,7 @@ Test Set Ups | TUnit - + diff --git a/docs/tutorial-extras/test-context/index.html b/docs/tutorial-extras/test-context/index.html index 32f1890ab7..60f9d33ba6 100644 --- a/docs/tutorial-extras/test-context/index.html +++ b/docs/tutorial-extras/test-context/index.html @@ -4,7 +4,7 @@ Test Context | TUnit - + diff --git a/docs/tutorial-extras/test-filters/index.html b/docs/tutorial-extras/test-filters/index.html index fd4dd4cb67..399e26eea7 100644 --- a/docs/tutorial-extras/test-filters/index.html +++ b/docs/tutorial-extras/test-filters/index.html @@ -4,7 +4,7 @@ Test Filters | TUnit - + diff --git a/docs/tutorial-extras/timeouts/index.html b/docs/tutorial-extras/timeouts/index.html index bb7a1e64fb..7888716086 100644 --- a/docs/tutorial-extras/timeouts/index.html +++ b/docs/tutorial-extras/timeouts/index.html @@ -4,7 +4,7 @@ Timeouts | TUnit - + diff --git a/index.html b/index.html index bad5c0290a..4ce520bda2 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Hello from TUnit | TUnit - + diff --git a/markdown-page/index.html b/markdown-page/index.html index 3e0fab6737..87adff6161 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -4,7 +4,7 @@ Markdown page example | TUnit - +