OK so let's get started and create a new project in stingy.
So it's nothing different you should again create a new project just like you did for creation for Java
new rightly new project.
And this time you can select it as still it's a dot product.
OK.
So let's go back down project click next.
And then you can give any name.
It's up to you.
So I'm just giving us a Destin's tutorial so that you will have a clear understanding when you downloaded
to your mission.
You can find it very quickly.
Right.
If I get a proper name call so it can just be ignored.
So right now we have Destin's the tutorial project.
Now I'll go inside and I will grade when you package it's Robin reichlich new package and looks to him
as a test package.
It's up to you if you want to create a package or not.
All they can do at a click click of classify is by giving on source for them.
So I am just writing all my Dalma class files in this test.
I guess that's all.
So all this we have done in our previous click just like when we are working on our meeting the things
new class this is like 6 or what I can see Class 1 day 1 something like that.
OK.
So here if we carefully observe if you want to run and combine who want to test in Java.
You need this public static Weidmann.
Get the last lecture.
We have used this.
So if you click on this and say finish that means you want to test run on Java compiler because of this
public static white men.
So now this DNG can act as a Java compiler for you.
OK so if you can incorporate this stingy framework and destines your library into your test cases.
So you need not depend upon Java compiler.
So destines itself acts as a Java compiler and executes all your test cases.
OK so let me remove this.
Without this you cannot come by and run any java program if you want you can try it.
OK so if you want to simply execute one step like system are or Berberine.
So if you do have this public static word main It will not work because you'll need this main matter
in Java to execute
I'll do it.
So if you're on this this is a hollow word program and run successfully as a job application.
So when you say run has you got a job application and it was done successfully.
Now when you watch this what happens when you demo this main You see that that is an error.
It will not allow you to run this program.
So here we are seeing that we are using dust in the library instead of Java compiler.
OK so that doesn't mean that you need not have a Java code on all your tests.
Destiny itself again depends upon Java in the Bakken.
OK so still using Java but from front end you'll going.
You need not write all of those things.
So very simple way to execute this from destiny is you know grade 1 midterm fast so stingy needs all
its best steps execution in a midterm in one kind of a function.
So this is my simple math.
I already did get public wired our get this is a matter which has a public access modifier and why it
is that he can do so in this matter.
If you read this
right so you have defined a step in this particular method.
And now if you execute it still will not run.
So because you don't still given it not enough information for destines you to run this.
This is a test isn't it.
So we will write some code and say that we were right some of our permission go inside it the method
and you have to do it.
Great test if you like this will be are concerned on the test annotation and you will get something
like this and test in the library select this and then we can start again you will get board dark dust
connotation.
Yeah this one import test.
Indiana Dushan test test is one of the annotation in this dingy library which will recognize that method
which immediately followed after this animation as a test case.
OK.
When you tried this test what were the matter follows after this test done or addition will be treated
as a test by bite does indeed.
OK.
And it runs that program even if you don't provide public static y mean.
OK let's do this right click or run as you see here every year when there is public static y.
I mean you should all have a job application as you remove that public static y mean you will no more
have an option of Java now which says As a test in the test because that has an annotation of destiny.
And we are running this test as a test in the library.
Click on our key and you would YOU ARE outpoured.
Hello again.
You'll see that if you have a simple job application you will get report like this where there's Destiny.
It has some stumblin but the inside the frame book which will neatly provide information like past them
all.
Is that just me.
OK.
Was there one of them that name you would find here that it reads as a test case.
OK so here is a test.
It says in the past and you can see that strand 1 and there are no failures.
OK everything is fast.
You see that.
Oh well this little bit neatly organized right.
When you have public static wired in main and if you run this you will simply see how long the output
which we have seen write initial in the beginning of this lecture.
But let us see him test if you like this you will see some need on it.
That's what we need when we want to build a framework.
OK so that flexibility may get it from best.
If this is the basic test to see that how to run a test.
I'm just in the point of view.
Let me go back to Word document and I hear no Nodong and document that aren't what they would be.
Let me in each and every letter of this Destiny's section.
Number one we know that you know how to run.
That's what I asked G.
Ok you need to answer this.
You need to have a direct test annotation
boilerplate.
All right so the next lecture we see how boolean this test case from test in the XML file.
Ok so a real test in the Jews you can get it by utilizing that cast in the XML file effectively.
OK so many are living a freedom but the knowledge of this just in the XML file is mandatory.
If you don't have that knowledge you may fall short in don't for them.
OK so in the next let's see how good on the same test.
Guess instead of right clicking around as stingy without doing all these things how we can play good
this test from an example of destiny they see in the next lecture.
Thank you.