When we write our apps, most of the times, we follow the so-called happy path. What is it exactly? Well, if we’re building a login form and we have a username and password, we’re testing our code so that we finally make the login work – but, we rarely consider other scenarios. For example, if the username and password text fields are completely blank – we should disable our Submit button, etc.
In our team, probably, there will be a QA Tester. Ah, good old testers 🙂 I think that developers really hate when some QA guy writes a ticket inside JIRA or some other Project Management Tool. After we fix the issue, we are so thrilled that we finally smashed the bug! The joy and excitement ends fast when the QA guy reopens the ticket. Now – we’re seriously thinking about killing him.
Is there any good solution?
This cool tool is what will stop the developers thinking about killing QA guys 🙂
Let’s start with our integration.
After we go to https://www.bugsee.com and register ourselves, we’re presented with a very nice looking Dashboard. All that is missing – is our app.
After we click on Create New App, we’re presented with a dialog where we can choose whether we’re building an iOS, Android or Web application.
We will pick iOS application and after that we have a screen which tells us how to integrate Bugsee inside our project via CocoaPods. In short, CocoaPods is a dependency manager for iOS which is fairly easy to use.
After we run:
in our Terminal and open our .xcworkspace file, Bugsee is integrated. What’s remaining are two lines of code and that’s it.
Go to AppDelegate.swift and first – import Bugsee at the top and then, go to
application(_ application:didFinishLaunchingWithOptions: and put this inside:
Of course, your token will be different than mine.
Next, run the app on your device. Remember, it can’t be done inside the iOS Simulator, and there, we finished our integration.
So now what?
- After our app crashes and bug occurs – Bugsee automatically sends a notification to your favorite bug tracker.
- After you click the link, you will be taken to Bugsee’s Dashboard where the crucial data is presented.
- You can see the video with user actions which led to the problem.
- You can see app version, SDK version, platform, OS versions, etc.
- Of course, you will see all console logs.
- You will see all the network requests that the app was doing. Hey come on, there’s even more? Absolutely.
- You will also see a crash reports with file names and line numbers. No way??? Yes way.
- You will see all the system and custom traces and events.
- The video will show the last moments that the user was seeing just before the crash…
Yes, there’s even more.
It’s really an awesome tool! Be sure to check it out!
Have fun coding! Have a nice day!