Introduction

5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€64.60
List Price:  €92.30
You save:  €27.69
£55.40
List Price:  £79.14
You save:  £23.74
CA$95.14
List Price:  CA$135.92
You save:  CA$40.78
A$107.21
List Price:  A$153.17
You save:  A$45.95
S$94.29
List Price:  S$134.71
You save:  S$40.41
HK$547.55
List Price:  HK$782.26
You save:  HK$234.70
CHF 63.39
List Price:  CHF 90.56
You save:  CHF 27.17
NOK kr753.41
List Price:  NOK kr1,076.34
You save:  NOK kr322.93
DKK kr481.90
List Price:  DKK kr688.47
You save:  DKK kr206.56
NZ$116.54
List Price:  NZ$166.49
You save:  NZ$49.95
د.إ257.02
List Price:  د.إ367.19
You save:  د.إ110.16
৳7,699.83
List Price:  ৳11,000.23
You save:  ৳3,300.40
₹5,834.28
List Price:  ₹8,335.05
You save:  ₹2,500.76
RM331.26
List Price:  RM473.25
You save:  RM141.99
₦97,755.03
List Price:  ₦139,656.03
You save:  ₦41,901
₨19,509.87
List Price:  ₨27,872.43
You save:  ₨8,362.56
฿2,546.30
List Price:  ฿3,637.73
You save:  ฿1,091.43
₺2,255.86
List Price:  ₺3,222.80
You save:  ₺966.93
B$348.35
List Price:  B$497.67
You save:  B$149.31
R1,321.80
List Price:  R1,888.37
You save:  R566.56
Лв126.46
List Price:  Лв180.67
You save:  Лв54.20
₩94,455.35
List Price:  ₩134,942
You save:  ₩40,486.65
₪256.23
List Price:  ₪366.06
You save:  ₪109.83
₱3,937.46
List Price:  ₱5,625.18
You save:  ₱1,687.72
¥10,582.69
List Price:  ¥15,118.78
You save:  ¥4,536.09
MX$1,164.09
List Price:  MX$1,663.06
You save:  MX$498.96
QR255.79
List Price:  QR365.44
You save:  QR109.64
P961.07
List Price:  P1,373.02
You save:  P411.94
KSh9,203.68
List Price:  KSh13,148.68
You save:  KSh3,945
E£3,306.33
List Price:  E£4,723.53
You save:  E£1,417.20
ብር3,986
List Price:  ብር5,694.53
You save:  ብር1,708.53
Kz58,526.40
List Price:  Kz83,612.73
You save:  Kz25,086.33
CLP$68,613.99
List Price:  CLP$98,024.19
You save:  CLP$29,410.20
CN¥505.72
List Price:  CN¥722.49
You save:  CN¥216.77
RD$4,149.44
List Price:  RD$5,928.03
You save:  RD$1,778.58
DA9,428.56
List Price:  DA13,469.95
You save:  DA4,041.39
FJ$157.67
List Price:  FJ$225.25
You save:  FJ$67.58
Q547.27
List Price:  Q781.84
You save:  Q234.57
GY$14,690.75
List Price:  GY$20,987.69
You save:  GY$6,296.93
ISK kr9,671.91
List Price:  ISK kr13,817.61
You save:  ISK kr4,145.70
DH707.37
List Price:  DH1,010.57
You save:  DH303.20
L1,234.61
List Price:  L1,763.81
You save:  L529.19
ден3,973.74
List Price:  ден5,677.01
You save:  ден1,703.27
MOP$565.34
List Price:  MOP$807.66
You save:  MOP$242.32
N$1,327.13
List Price:  N$1,895.98
You save:  N$568.85
C$2,582.33
List Price:  C$3,689.21
You save:  C$1,106.87
रु9,350.11
List Price:  रु13,357.88
You save:  रु4,007.76
S/259.70
List Price:  S/371.02
You save:  S/111.31
K268.50
List Price:  K383.60
You save:  K115.09
SAR262.50
List Price:  SAR375.02
You save:  SAR112.51
ZK1,783.85
List Price:  ZK2,548.47
You save:  ZK764.61
L321.17
List Price:  L458.83
You save:  L137.66
Kč1,633.99
List Price:  Kč2,334.38
You save:  Kč700.38
Ft25,496.77
List Price:  Ft36,425.52
You save:  Ft10,928.74
SEK kr741.62
List Price:  SEK kr1,059.50
You save:  SEK kr317.88
ARS$59,963.93
List Price:  ARS$85,666.43
You save:  ARS$25,702.49
Bs486.54
List Price:  Bs695.09
You save:  Bs208.54
COP$272,760.10
List Price:  COP$389,673.99
You save:  COP$116,913.89
₡35,355.24
List Price:  ₡50,509.65
You save:  ₡15,154.41
L1,731.96
List Price:  L2,474.33
You save:  L742.37
₲515,624.88
List Price:  ₲736,638.54
You save:  ₲221,013.66
$U2,646.58
List Price:  $U3,781
You save:  $U1,134.41
zł278.71
List Price:  zł398.17
You save:  zł119.46
Already have an account? Log In

Transcript

Hello all, welcome to the test Entity Framework Learning Series. Let's first take a dig at the introduction of test engine, what test engine is why we need it? What are the advantages of test engine over some other frameworks, I have created a very small document for you. So you can also refer it whenever you like. And let's go over it to just take an introduction. So test engine is a testing framework inspired from J unit and n unit, when more functionalities added to make it, execution more efficient and powerful.

It is also an open source open source technology. It eliminates most of the limitations of older frameworks and actually gives the developers which means the test writers the ability to write more flexible and powerful test cases. It has a lot of things like annotations grouping dependent test cases, sequencing parameterizing data provides Just a lot of things it has and we will discuss everything in detail. What are the benefits of testan G, we can actually generate logs also using the stingy annotations, which is really good. They make the code very efficient and really easy to manage. We can generate HTML reports also using test Angie.

We can group test cases, depending on the features of the application. And we can also put the test cases in a particular order that we want to run. We can run test cases in parallel also, and we can provide data to the test cases from external files also. So all these things are really great. What are some annotations used? Interestingly, there are a lot but we'll discuss some important ones.

As I said before, sweet this annotation will run once before all the test methods in a test suite and we will learn a In following lectures for a test suite is what a test case is and what a test tag is. We will learn everything but test classes, we will learn all those things definitely in a lot more detail. So to just understand some benefits and what these annotations are, we we'll take a quick look after sweet is exactly similar to before sweet. The only difference is it shows by the name that it runs once after the complete suite is done at the red before sweet. This annotation will run once before each test tag. So it's not the test method.

It's the test tag and we will see that in the lectures. Same thing with after test. It will run once after each test tag in the XML file. Before classes, probably the easiest one for you to understand right now. So there's always a test class and there are a lot of test methods inside a test class. So, before class annotation, if we annotate any method with before class annotation, that method will run once before any of the method executes in the test class.

And same thing goes by after class if we annotate any method with at the rate after class annotation, that method will execute once after all the methods in the test class are executed. And before method and after method are also similar. The only difference is any method be annotated with at the rate before method and after method will execute once before each test method inside a test class. So the only difference between before class and before methods before class will execute only once in a test class and Before method will execute once before each method. So, if you have 10 methods 10 test methods in a test class, then this method will execute 10 times Same thing happens with after method also, after a test this is the main annotation. Any method that you annotate with accurate test annotation will be considered as a test case.

What are some benefits of using annotations? So, it helps to identify the method that it is interested in by looking at the annotation. So, by looking at the annotations test and you know if it's a test method, or if it's a before class or if it's after class and those kind of things. So, because of this method names are not restricted to any pattern or format. You can just name them anything, which makes it easy for you to understand what the test method is doing. We can pass additional parameters to annotation We can enable and disable the test methods also.

And annotations are strongly typed. So compiler will flag any mistakes right away. So we don't run the faulty code, we will know if something is wrong and we can fix it before trying to run it. And test classes no longer need to extend anything. So such as test case for j unit three. So basically in j unit three, we had to extend test case class to create j unit test classes.

So right now with annotations test it makes it really easy. So these are some introduction and advantages of using test ng G. And stay tuned for the next lecture. We will have a lot of fun we will learn every concept in detail, and I'll see in the next lecture. Thanks for attending this one. Thanks.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.