Best Jmock-library code snippet using org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests
Source:automergeptm.java
1package org.jmock.test.acceptance;2import org.jmock.Expectations;3import org.jmock.Mockery;4import org.junit.Test;5public class PrimitiveParameterTypesAcceptanceTests {6 public interface MethodsWithPrimitiveTypes {7 void withBoolean(boolean b);8 void withByte(byte b);9 void withShort(short s);10 void withInt(int i);11 void withLong(long l);12 void withFloat(float f);13 void withDouble(double d);14 }15 public final Mockery context = new Mockery();16 private final MethodsWithPrimitiveTypes mock = context.mock(MethodsWithPrimitiveTypes.class, "mock");17 @Test public void canSetExpectationsWithMatchersForMethodsWithArgumentsOfPrimitiveTypes() {18 context.checking(new Expectations() {19 {20 exactly(1).of(mock).withBoolean(with.booleanIs(equal(true)));21 exactly(1).of(mock).withByte(with.byteIs(equal((byte) 10)));22 exactly(1).of(mock).withShort(with.shortIs(equal((short) 10)));23 exactly(1).of(mock).withInt(with.intIs(equal(10)));24 exactly(1).of(mock).withLong(with.longIs(equal(10L)));25 exactly(1).of(mock).withFloat(with.floatIs(equal(10.0f)));26 exactly(1).of(mock).withDouble(with.doubleIs(equal(10.0)));27 }28 });29 mock.withBoolean(true);30 mock.withByte((byte) 10);31 mock.withShort((short) 10);32 mock.withInt(10);33 mock.withLong(10L);34 mock.withFloat(10.0f);35 mock.withDouble(10.0);36 context.assertIsSatisfied();37 }38 @Test public void canSetExpectationsWithLiteralsForMethodsWithArgumentsOfPrimitiveTypes() {39 context.checking(new Expectations() {40 {41 exactly(1).of(mock).withBoolean(true);42 exactly(1).of(mock).withByte((byte) 10);43 exactly(1).of(mock).withShort((short) 10);44 exactly(1).of(mock).withInt(10);45 exactly(1).of(mock).withLong(10L);46 exactly(1).of(mock).withFloat(10.0f);47 exactly(1).of(mock).withDouble(10.0);48 }49 });50 mock.withBoolean(true);51 mock.withByte((byte) 10);52 mock.withShort((short) 10);53 mock.withInt(10);54 mock.withLong(10L);55 mock.withFloat(10.0f);56 mock.withDouble(10.0);57 context.assertIsSatisfied();58 }59<<<<<<< merge_dirs/jmock-developers/jmock-library/f4dbcaf8ec0c63cadb5d3ac30af83876d65b20f0/PrimitiveParameterTypesAcceptanceTests.java_893fbb3a8832c317d38457206ae55701f58f6b39/Left.java60 /**61 * Will fail unless ExpecttionsCreator has added generic overloaded byte code62 */63 @Test public void testNonNullNativeIgnoreingDocumentationParameterMatcher() {64 context.checking(new Expectations() {65 {66 exactly(1).of(mock).withBoolean(with.booleanIs(anything()));67 exactly(1).of(mock).withByte(with.byteIs(anything()));68 exactly(1).of(mock).withShort(with.shortIs(anything()));69 exactly(1).of(mock).withInt(with.intIs(anything()));70 exactly(1).of(mock).withLong(with.longIs(anything()));71 exactly(1).of(mock).withFloat(with.floatIs(anything()));72 exactly(1).of(mock).withDouble(with.doubleIs(anything()));73 }...
Source:jdime.java
1package org.jmock.test.acceptance;2import org.jmock.Expectations;3import org.jmock.Mockery;4import org.junit.Test;5public class PrimitiveParameterTypesAcceptanceTests {6 public interface MethodsWithPrimitiveTypes {7 void withBoolean(boolean b);8 void withByte(byte b);9 void withShort(short s);10 void withInt(int i);11 void withLong(long l);12 void withFloat(float f);13 void withDouble(double d);14 }15 public final Mockery context = new Mockery();16 private final MethodsWithPrimitiveTypes mock = context.mock(MethodsWithPrimitiveTypes.class, "mock");17 @Test public void canSetExpectationsWithMatchersForMethodsWithArgumentsOfPrimitiveTypes() {18 context.checking(new Expectations() {19 {20 exactly(1).of(mock).withBoolean(with.booleanIs(equal(true)));21 exactly(1).of(mock).withByte(with.byteIs(equal((byte) 10)));22 exactly(1).of(mock).withShort(with.shortIs(equal((short) 10)));23 exactly(1).of(mock).withInt(with.intIs(equal(10)));24 exactly(1).of(mock).withLong(with.longIs(equal(10L)));25 exactly(1).of(mock).withFloat(with.floatIs(equal(10.0f)));26 exactly(1).of(mock).withDouble(with.doubleIs(equal(10.0)));27 }28 });29 mock.withBoolean(true);30 mock.withByte((byte) 10);31 mock.withShort((short) 10);32 mock.withInt(10);33 mock.withLong(10L);34 mock.withFloat(10.0f);35 mock.withDouble(10.0);36 context.assertIsSatisfied();37 }38 @Test public void canSetExpectationsWithLiteralsForMethodsWithArgumentsOfPrimitiveTypes() {39 context.checking(new Expectations() {40 {41 exactly(1).of(mock).withBoolean(true);42 exactly(1).of(mock).withByte((byte) 10);43 exactly(1).of(mock).withShort((short) 10);44 exactly(1).of(mock).withInt(10);45 exactly(1).of(mock).withLong(10L);46 exactly(1).of(mock).withFloat(10.0f);47 exactly(1).of(mock).withDouble(10.0);48 }49 });50 mock.withBoolean(true);51 mock.withByte((byte) 10);52 mock.withShort((short) 10);53 mock.withInt(10);54 mock.withLong(10L);55 mock.withFloat(10.0f);56 mock.withDouble(10.0);57 context.assertIsSatisfied();58 }59<<<<<<< merge_dirs/jmock-developers/jmock-library/f4dbcaf8ec0c63cadb5d3ac30af83876d65b20f0/PrimitiveParameterTypesAcceptanceTests.java_893fbb3a8832c317d38457206ae55701f58f6b39/Left.java60 /**61 * Will fail unless ExpecttionsCreator has added generic overloaded byte code62 */63 @Test public void testNonNullNativeIgnoreingDocumentationParameterMatcher() {64 context.checking(new Expectations() {65 {66 exactly(1).of(mock).withBoolean(with.booleanIs(anything()));67 exactly(1).of(mock).withByte(with.byteIs(anything()));68 exactly(1).of(mock).withShort(with.shortIs(anything()));69 exactly(1).of(mock).withInt(with.intIs(anything()));70 exactly(1).of(mock).withLong(with.longIs(anything()));71 exactly(1).of(mock).withFloat(with.floatIs(anything()));72 exactly(1).of(mock).withDouble(with.doubleIs(anything()));73 }...
Source:spork.java
1package org.jmock.test.acceptance;2import org.jmock.Expectations;3import org.jmock.Mockery;4import org.junit.Test;5public class PrimitiveParameterTypesAcceptanceTests {6 public interface MethodsWithPrimitiveTypes {7 public abstract void withBoolean(boolean b);8 public abstract void withByte(byte b);9 public abstract void withShort(short s);10 public abstract void withInt(int i);11 public abstract void withLong(long l);12 public abstract void withFloat(float f);13 public abstract void withDouble(double d);14 }15 public final Mockery context = new Mockery();16 private final MethodsWithPrimitiveTypes mock = context.mock(PrimitiveParameterTypesAcceptanceTests.MethodsWithPrimitiveTypes.class, "mock");17 @Test18 public void canSetExpectationsWithMatchersForMethodsWithArgumentsOfPrimitiveTypes() {19 context.checking(new Expectations() {{20 exactly(1).of (mock).withBoolean(with.booleanIs(equal(true)));21 exactly(1).of (mock).withByte(with.byteIs(equal((byte)10)));22 exactly(1).of (mock).withShort(with.shortIs(equal((short) 10)));23 exactly(1).of (mock).withInt(with.intIs(equal(10)));24 exactly(1).of (mock).withLong(with.longIs(equal(10L)));25 exactly(1).of (mock).withFloat(with.floatIs(equal(10.0f)));26 exactly(1).of (mock).withDouble(with.doubleIs(equal(10.0)));27 }});28 29 mock.withBoolean(true);30 mock.withByte((byte)10);...
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;2public class 1 {3 public static void main(String[] args) {4 PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();5 test.testCanExpectMethodWithPrimitiveParameters();6 }7}8 at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)9 at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)10 at org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests.testCanExpectMethodWithPrimitiveParameters(PrimitiveParameterTypesAcceptanceTests.java:47)
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1package org.jmock.test.acceptance;2import junit.framework.TestCase;3import org.jmock.Mock;4import org.jmock.MockObjectTestCase;5import org.jmock.core.Constraint;6import org.jmock.core.constraint.IsEqual;7public class PrimitiveParameterTypesAcceptanceTests extends TestCase {8 public void testCanPassPrimitiveParametersToMockedMethod() {9 Mock mock = new MockObjectTestCase().mock(HasPrimitiveMethods.class);10 mock.expects(new IsEqual("methodWithPrimitiveParameters")).with(eq(1), eq(2), eq(3));11 ((HasPrimitiveMethods)mock.proxy()).methodWithPrimitiveParameters(1, 2, 3);12 }13 public void testCanPassPrimitiveArrayParametersToMockedMethod() {14 Mock mock = new MockObjectTestCase().mock(HasPrimitiveMethods.class);15 mock.expects(new IsEqual("methodWithPrimitiveArrayParameters")).with(eq(new int[]{1, 2, 3}));16 ((HasPrimitiveMethods)mock.proxy()).methodWithPrimitiveArrayParameters(new int[]{1, 2, 3});17 }18 public void testCanPassPrimitiveReturnValuesFromMockedMethod() {19 Mock mock = new MockObjectTestCase().mock(HasPrimitiveMethods.class);20 mock.expects(new IsEqual("methodReturningPrimitive")).will(returnValue(1));21 assertEquals(1, ((HasPrimitiveMethods)mock.proxy()).methodReturningPrimitive());22 }23 public void testCanPassPrimitiveArrayReturnValuesFromMockedMethod() {24 Mock mock = new MockObjectTestCase().mock(HasPrimitiveMethods.class);25 mock.expects(new IsEqual("methodReturningPrimitiveArray")).will(returnValue(new int[]{1, 2, 3}));26 assertEquals(new int[]{1, 2, 3}, ((HasPrimitiveMethods)mock.proxy()).methodReturningPrimitiveArray());27 }28 private Constraint eq(int i) {29 return new IsEqual(new Integer(i));30 }31 private Constraint eq(int[] i) {32 return new IsEqual(i);33 }34 private Constraint returnValue(int i) {35 return new IsEqual(new Integer(i));36 }37 private Constraint returnValue(int[] i) {38 return new IsEqual(i);39 }40 public static interface HasPrimitiveMethods {41 void methodWithPrimitiveParameters(int i, int j, int k);42 void methodWithPrimitiveArrayParameters(int[] i);43 int methodReturningPrimitive();44 int[] methodReturningPrimitiveArray();45 }
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;2public class 1 {3public static void main(String[] args) {4PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();5test.testPrimitiveParameterTypes();6}7}8import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;9import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;10public class 2 {11public static void main(String[] args) {12PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();13test.testPrimitiveParameterTypes();14}15}16import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;17import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;18public class 3 {19public static void main(String[] args) {20PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();21test.testPrimitiveParameterTypes();22}23}24import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;25import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;26public class 4 {27public static void main(String[] args) {28PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();29test.testPrimitiveParameterTypes();30}31}32import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;33import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;34public class 5 {35public static void main(String[] args) {36PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();37test.testPrimitiveParameterTypes();38}39}40import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;41import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;42public class 6 {43public static void main(String[] args) {44PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();45test.testPrimitiveParameterTypes();46}47}48import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;49import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;50public class 7 {51public static void main(String[] args) {52PrimitiveParameterTypesAcceptanceTests test = new PrimitiveParameterTypesAcceptanceTests();53test.testPrimitiveParameterTypes();54}55}
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1package org.jmock.test.acceptance;2import org.jmock.core.Invocation;3import org.jmock.core.InvocationMatcher;4import org.jmock.core.Stub;5import org.jmock.core.constraint.IsEqual;6import org.jmock.core.constraint.IsSame;7import org.jmock.core.matcher.InvokeOnceMatcher;8import org.jmock.core.stub.ReturnStub;9import org.jmock.core.stub.ThrowStub;10import org.jmock.MockObjectTestCase;11{12 {13 boolean booleanMethod(boolean b);14 byte byteMethod(byte b);15 char charMethod(char c);16 short shortMethod(short s);17 int intMethod(int i);18 long longMethod(long l);19 float floatMethod(float f);20 double doubleMethod(double d);21 }22 public void testCanMockPrimitives()23 {24 HasPrimitives mockHasPrimitives = (HasPrimitives)mock(HasPrimitives.class);25 mockHasPrimitives.booleanMethod(true);26 mockHasPrimitives.byteMethod((byte)123);27 mockHasPrimitives.charMethod('a');28 mockHasPrimitives.shortMethod((short)12345);29 mockHasPrimitives.intMethod(1234567890);30 mockHasPrimitives.longMethod(1234567890123456789L);31 mockHasPrimitives.floatMethod(1.2345f);32 mockHasPrimitives.doubleMethod(1.23456789);33 verify();34 }35 public void testCanStubPrimitives()36 {37 HasPrimitives mockHasPrimitives = (HasPrimitives)mock(HasPrimitives.class);38 stub(mockHasPrimitives.booleanMethod(true)).will(returnValue(false));39 stub(mockHasPrimitives.byteMethod((byte)123)).will(returnValue((byte)124));40 stub(mockHasPrimitives.charMethod('a')).will(returnValue('b'));41 stub(mockHasPrimitives.shortMethod((short)12345)).will(returnValue((short)12346));42 stub(mockHasPrimitives.intMethod(1234567890)).will(returnValue(1234567891));43 stub(mockHasPrimitives.longMethod(1234567890123456789L)).will(returnValue(1234567890123456790L));44 stub(mockHasPrimitives.floatMethod(1.2345f)).will(returnValue(1.2346f));45 stub(mockHas
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import org.jmock.*;2import org.jmock.test.acceptance.*;3{4 public static void main(String[] args)5 {6 Mockery context = new JUnit4Mockery();7 final PrimitiveParameterTypesAcceptanceTests test = context.mock(PrimitiveParameterTypesAcceptanceTests.class);8 context.checking(new Expectations()9 {10 {11 oneOf(test).testInt(1);12 oneOf(test).testInteger(2);13 oneOf(test).testLong(3L);14 oneOf(test).testDouble(4.0);15 oneOf(test).testFloat(5.0f);16 oneOf(test).testBoolean(true);17 oneOf(test).testChar('c');18 oneOf(test).testByte((byte) 0x7f);19 oneOf(test).testShort((short) 0x7fff);20 }21 });22 test.testInt(1);23 test.testInteger(2);24 test.testLong(3L);25 test.testDouble(4.0);26 test.testFloat(5.0f);27 test.testBoolean(true);
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;2import junit.framework.Test;3import junit.framework.TestCase;4import junit.framework.TestSuite;5public class Test1 extends TestCase {6 public static Test suite() {7 TestSuite suite = new TestSuite();8 suite.addTestSuite(PrimitiveParameterTypesAcceptanceTests.class);9 return suite;10 }11}12import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;13import junit.framework.Test;14import junit.framework.TestCase;15import junit.framework.TestSuite;16public class Test2 extends TestCase {17 public static Test suite() {18 TestSuite suite = new TestSuite();19 suite.addTestSuite(PrimitiveParameterTypesAcceptanceTests.class);20 return suite;21 }22}23import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;24import junit.framework.Test;25import junit.framework.TestCase;26import junit.framework.TestSuite;27public class Test3 extends TestCase {28 public static Test suite() {29 TestSuite suite = new TestSuite();30 suite.addTestSuite(PrimitiveParameterTypesAcceptanceTests.class);31 return suite;32 }33}34import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;35import junit.framework.Test;36import junit.framework.TestCase;37import junit.framework.TestSuite;38public class Test4 extends TestCase {39 public static Test suite() {40 TestSuite suite = new TestSuite();41 suite.addTestSuite(PrimitiveParameterTypesAcceptanceTests.class);42 return suite;43 }44}45import org.jmock.test.acceptance.PrimitiveParameterTypesAcceptanceTests;46import junit.framework.Test;47import junit.framework.TestCase;48import junit.framework.TestSuite;49public class Test5 extends TestCase {50 public static Test suite() {51 TestSuite suite = new TestSuite();52 suite.addTestSuite(PrimitiveParameterTypesAcceptanceTests.class);53 return suite;54 }55}
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import java.io.*;2import java.util.*;3import org.jmock.*;4import org.jmock.core.*;5import org.jmock.test.acceptance.*;6public class PrimitiveParameterTypesAcceptanceTestsTest extends PrimitiveParameterTypesAcceptanceTests {7 public static void main(String[] args) throws Exception {8 new PrimitiveParameterTypesAcceptanceTestsTest().runTest();9 }10 public void runTest() throws Exception {11 super.setUp();12 super.testCanSetExpectationsOnPrimitiveParameters();13 super.testCanSetExpectationsOnPrimitiveParametersInAnyOrder();14 super.testCanSetExpectationsOnPrimitiveParametersInSequence();15 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrder();16 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny();17 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny2();18 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny3();19 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny4();20 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny5();21 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny6();22 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny7();23 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny8();24 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny9();25 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny10();26 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny11();27 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny12();28 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny13();29 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny14();30 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny15();31 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny16();32 super.testCanSetExpectationsOnPrimitiveParametersInSequenceWithAnyOrderAndWithAny17();
PrimitiveParameterTypesAcceptanceTests
Using AI Code Generation
1import org.jmock.MockObjectTestCase;2import org.jmock.expectation.AssertMo;3public class PrimitiveParameterTypesAcceptanceTests extends MockObjectTestCase {4 public void testCanExpectAndReturnPrimitiveBoolean() {5 Mock mock = mock(InterfaceWithPrimitiveBooleanParameter.class);6 mock.expects(once()).method("method").with(eq(true));7 (InterfaceWithPrimitiveBooleanParameter)mock.proxy();8 proxy.method(true);9 }10 public void testCanExpectAndReturnPrimitiveByte() {11 Mock mock = mock(InterfaceWithPrimitiveByteParameter.class);12 mock.expects(once()).method("method").with(eq((byte)1));13 (InterfaceWithPrimitiveByteParameter)mock.proxy();14 proxy.method((byte)1);15 }16 public void testCanExpectAndReturnPrimitiveChar() {17 Mock mock = mock(InterfaceWithPrimitiveCharParameter.class);18 mock.expects(once()).method("method").with(eq('a'));19 (InterfaceWithPrimitiveCharParameter)mock.proxy();20 proxy.method('a');21 }22 public void testCanExpectAndReturnPrimitiveShort() {23 Mock mock = mock(InterfaceWithPrimitiveShortParameter.class);24 mock.expects(once()).method("method").with(eq((short)1));25 (InterfaceWithPrimitiveShortParameter)mock.proxy();26 proxy.method((short)1);27 }28 public void testCanExpectAndReturnPrimitiveInt() {29 Mock mock = mock(InterfaceWithPrimitiveIntParameter.class);30 mock.expects(once()).method("method").with(eq(1));31 (InterfaceWithPrimitiveIntParameter)mock.proxy();32 proxy.method(1);33 }34 public void testCanExpectAndReturnPrimitiveLong() {35 Mock mock = mock(InterfaceWithPrimitiveLongParameter.class);36 mock.expects(once()).method("method").with(eq(1L));37 (InterfaceWithPrimitiveLongParameter)mock.proxy();38 proxy.method(1L);39 }40 public void testCanExpectAndReturnPrimitiveFloat() {41 Mock mock = mock(InterfaceWithPrimitiveFloatParameter.class);42 mock.expects(once()).method("method").with(eq(1.0F));
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!