A continuación se detalla cómo se construyen e instalan las aplicaciones de redborder escritas en Go. Son las siguientes:
import requests | |
class colors: | |
OK = "\033[92m" | |
FAIL = "\033[91m" | |
ENDC = "\033[0m" | |
BOLD = "\033[1m" | |
def print_turn(turn): | |
print(' ▶ [{}]:'.format(turn["time"]), end="") |
[ | |
{ | |
"name": "Blocked", | |
"color": "e99695" | |
}, | |
{ | |
"name": "bug", | |
"color": "fc2929" | |
}, | |
{ |
// libraries | |
#include <stdlib.h> | |
#include <GSM.h> | |
#include <SPI.h> | |
#include <String.h> | |
#include <PubSubClient.h> | |
///////////////////////GSM/////////////////////// | |
// PIN Number | |
#define PINNUMBER "" | |
// APN data |
Unit test | Integration test |
---|---|
Results depends only on code |
Results also depends on external systems |
Easy to write and verify |
Setup of integration test might be complicated |
A single class/unit is tested in isolation |
One or more components are tested |
All dependencies are mocked if needed |
No mocking is used (or only unrelated components are mocked) |
Test verifies only implementation of code |
Test verifies implementation of individual components and their interconnection behaviour when they are used together |
#!/bin/sh | |
# stash any unstaged changes | |
git stash -q --keep-index | |
# run the tests | |
make tests | |
# store the last exit code in a variable | |
RESULT=$? |
-
En primer lugar hay que descargarse las dos ISOS de los siguientes enlaces
-
Para instalarlos tendrás que montar el ISO usando un programa como WinCDEmu. Una vez lo hayas montado podrás iniciar la instalación.
-
Cuando pida una clave CD puedes usar el keygen que se encuentra en CD que está montado.
-