Coder Social home page Coder Social logo

quizapp-oblig3's Introduction

Test results for group 10:

APKs used during testing:

App APK:
	Location: /Users/daniel1/Desktop/Skole/SemesterV2024/DAT153/QuizAppOblig3/app/build/outputs/apk/debug/app-debug.apk

Test APK:
	Location: /Users/daniel1/Desktop/Skole/SemesterV2024/DAT153/QuizAppOblig3/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk

Test cases:

1. Clicking a button in the main-menu takes you to the right sub-activity (i.e. to the Quiz or the Database; testing one button is enough):

  • The test checks that if you click on the gallery button in the main menu, you actually get sent to the gallery. This case is expected to pass.
Skjermbilde 2024-04-19 kl  14 11 43

2. Is the score updated correctly in the quiz (submit right/wrong answer and check if the score is correct afterwards):

  • The test checks that if you click on the first button in the quiz, and the answer is wrong, the score is updated to zero correct of one. This case has a 33% chance that the test will not pass, because the options buttons is randomized.
Skjermbilde 2024-04-19 kl  14 11 48

3. A test that checks that the number of registered pictures/persons is correct after adding/deleting an entry.

Testing deleting an image from the gallery:

  • If you click on an image and delete the image, the image will no longer be in the database and should not appear in the gallery. This is expected to pass.

Testing adding an image to the gallery:

  • If you add an image and the image has a description it should be added to the database and appear in the gallery. This is expected to pass.
Skjermbilde 2024-04-23 kl  12 55 27

quizapp-oblig3's People

Contributors

h600884 avatar eyvmal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.