You will then receive a JSON response with an access_token
that you can then save and use for future API requests for that merchant.
{
token_type: 'bearer',
access_token: 'REDACTED'
}
You will then receive a JSON response with an access_token
that you can then save and use for future API requests for that merchant.
{
token_type: 'bearer',
access_token: 'REDACTED'
}
Shipping working software, frequently and safely is critical in providing value to your customers and faster learning from end users.
How do you accelerate delivery and scale your development teams? How can you tell if the new agile practice your team adopted or your new CI server is helping improve delivery? How do you effectively measure Software Delivery?
This talk will explain how over the past year, our teams started measuring key software delivery health metrics such as:
package wat | |
// exporting only for testing | |
var Hello = hello |
package adder | |
import "errors" | |
var ErrInvalidSummand = errors.New("Invalid summand") | |
func Add(x, y int) (int, error) { | |
if x <= 0 || y <= 0 { | |
return 0, ErrInvalidSummand | |
} |
var _ = Describe("Adder", func() { | |
Describe("Add", func() { | |
Context("when summands are positive", func() { | |
It("adds two numbers", func() { | |
sum, err := Add(2, 3) | |
Expect(err).NotTo(HaveOccurred()) | |
Expect(sum).To(Equal(5)) |
package adder_test | |
import ( | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
. "github.com/markstgodard/adder" | |
) | |
var _ = Describe("Adder", func() { |
package adder_test | |
import ( | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
. "github.com/markstgodard/adder" | |
) | |
var _ = Describe("Adder", func() { |
package adder_test | |
import ( | |
"testing" | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
) | |
func TestAdder(t *testing.T) { |
package adder | |
import "testing" | |
func TestAdd(t *testing.T) { | |
sum := Add(2, 3) | |
if sum != 5 { | |
t.Errorf("Sum, got: %d, want: %d.", sum, 5) | |
} | |
} |
package adder | |
func Add(x, y int) int { | |
return x + y | |
} |