codescalersinternships / home

home repo for internships
2 stars 0 forks source link

QA-INTERNSHIP-AkramEssam #199

Open akram1903 opened 1 week ago

akram1903 commented 1 week ago

Week 1

Resources

Week 2

Resources

Week 3

Resources

Week 4

Resources

Docker/docker-compose

Networking

Software development process / testing

Week 5

akram1903 commented 1 week ago

const calc = require('./funcs')

// ADD test("testing basic add 1+1",()=>{ expect(calc.add(1,1)).toStrictEqual(2); });

test("testing negative numbers add",()=>{ expect(calc.add(-2,-3)).toStrictEqual(-5); });

test("testing fractions add",()=>{ expect(calc.add(2.3,-3)).toStrictEqual(-0.7); });

// SUB test("testing normal subtraction",()=>{ expect(calc.subtract(1,1)).toStrictEqual(0); })

test("testing negative subtraction",()=>{ expect(calc.subtract(1,-1)).toStrictEqual(2); })

test("testing fractions subtraction",()=>{ expect(calc.subtract(1.5,0.5)).toStrictEqual(1); })

// MUL test("testing normal multiplication",()=>{ expect(calc.multiply(2,2)).toStrictEqual(4); })

test("testing multiplication identity",()=>{ expect(calc.multiply(1,2)).toStrictEqual(2); })

test("testing multiplication by zero",()=>{ expect(calc.multiply(0,2)).toStrictEqual(0); }) // DIV test("testing normal division",()=>{ expect(calc.divide(1,2)).toStrictEqual(0.5); })

test("testing division by negative",()=>{ expect(calc.divide(1,-2)).toStrictEqual(-0.5); })

test("testing division by zero",()=>{ expect(calc.divide(1,0)).toBeFalsy(); })



![Screenshot from 2024-07-07 17-04-50](https://github.com/codescalersinternships/home/assets/77437432/48e09528-986d-4885-ba91-45ee899f1aa4)
![image](https://github.com/codescalersinternships/home/assets/77437432/85e12b06-736c-419a-8118-046de44c0a37)
akram1903 commented 1 week ago

Completed today tasks

Installed java and Jmeter on ubuntu Created a Blazemeter test case image Videos watched:

akram1903 commented 1 week ago

Date 10th July

made a selenium project to test login page of swag labs

The repo of the project is here

akram1903 commented 3 days ago
akram1903 commented 2 days ago
akram1903 commented 1 day ago

first 10 videos of ccna playlist done

akram1903 commented 10 hours ago

first 18 videos of ccna playlist done