1"use strict";(self.webpackChunkblog=self.webpackChunkblog||[]).push([[6885],{3507:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>n,toc:()=>d});var n=s(9713),r=s(4848),i=s(8453);const o={title:"Using embedded resources in testing projects",tags:["UNIT-TESTING","INTEGRATION-TESTS","RESOURCES"],slug:"embedded-resources-testing-projects"},a="Using embedded resources in testing projects",c={authorsImageUrls:[]},d=[];function l(e){const t={img:"img",p:"p",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:(0,r.jsx)(t.img,{src:s(3052).A+"",width:"1280",height:"720"})}),"\n",(0,r.jsx)(t.p,{children:"Quite often when you are writing tests it's necessary to store some data together with the testing project to make them available in the test functions."})]})}function u(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},3052:(e,t,s)=>{s.d(t,{A:()=>n});const n=s.p+"assets/images/cubes-677092_1280-cfd88cd19b62c7324e7ea2ace80b11f3.png"},8453:(e,t,s)=>{s.d(t,{R:()=>o,x:()=>a});var n=s(6540);const r={},i=n.createContext(r);function o(e){const t=n.useContext(i);return n.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),n.createElement(i.Provider,{value:t},e.children)}},9713:e=>{e.exports=JSON.parse('{"permalink":"/blog/embedded-resources-testing-projects","source":"@site/blog/2018-05-30-embedded-resources-testing-projects/index.md","title":"Using embedded resources in testing projects","description":"Quite often when you are writing tests it\'s necessary to store some data together with the testing project to make them available in the test functions.","date":"2018-05-30T00:00:00.000Z","tags":[{"inline":true,"label":"UNIT-TESTING","permalink":"/blog/tags/unit-testing"},{"inline":true,"label":"INTEGRATION-TESTS","permalink":"/blog/tags/integration-tests"},{"inline":true,"label":"RESOURCES","permalink":"/blog/tags/resources"}],"readingTime":1.55,"hasTruncateMarker":true,"authors":[],"frontMatter":{"title":"Using embedded resources in testing projects","tags":["UNIT-TESTING","INTEGRATION-TESTS","RESOURCES"],"slug":"embedded-resources-testing-projects"},"unlisted":false,"prevItem":{"title":"Add extra user claims in ASP.NET Core webapp","permalink":"/blog/add-extra-user-claims-aspnet-core-webapp"},"nextItem":{"title":"ASP.NET Identity - Adding master password","permalink":"/blog/aspnet-identity-master-password"}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.