Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

mpermperpisang/golang-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Automation

Feature List :

  • API
  • Web
  • Android
  • iOS

MODULE ENV

  • go env -w GO111MODULE=on

REPOSITORY

  • Clone repo inside default $GOPATH (Example: $HOME/go/src/github.com/) or
  • Clone repo outside default $GOPATH (Example: $HOME/Documents/project/)

SPECS

  • macOS Big Sur 11.6.1
  • xcode 12.5.1
  • genymotion 3.2.1
  • java 1.8.0_144
  • gradle 7.4
  • carthage 0.38.0
  • cmake 3.13.1
  • node 14.15.4
  • npm 6.14.10
  • appium server 1.21.0
  • appium doctor 1.16.0
  • appium desktop 1.21.0
  • go 1.17
  • jenkins 2.289.3

PROFILE

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-1.8.0.jdk/Contents/Home
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$JAVA_HOME/bin:$PATH
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export GOROOT=/usr/local/go
export GOPATH=$HOME/Documents/project/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

MAKEFILE

  • make cp
  • make deps
  • docker-compose up -d (after test, run this command docker-compose down)

RUN

  • make api-godog
  • make api-ginkgo
  • ginkgo -p --randomize-all --label-filter="get". Need to cd ./features/scenarios/non-xray/non-cucumber/api first.

CONTACT

mpermperpisang@gmail.com

REFERENCES