You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,28 @@ Docker Compose:
15
15
-**docker-compose-dev.yml**: contém as definições para iniciar todos os containers necessários para rodar em **desenvolvimento**
16
16
17
17
18
-
### Como executar os tests
18
+
### Como executar os testes
19
19
20
+
É mais prático realizar os testes em um ambiente virtual (em lugar de usar contêineres Docker). Para isso, como o Python base do Analytics é versão 3.6, pode ser mais fácil criar esse ambiente por meio do miniconda. Também é preciso instalar a dependência de sistema `libmemcached-dev`. Em sistemas Ubuntu, isso é factível por meio do comando:
20
21
22
+
```shell
23
+
apt install libmemcached-dev
24
+
```
25
+
26
+
Crie um ambiente virtual baseado em Python3.6 e instale as dependências. Usar o miniconda para isso pode ser um facilitador.
21
27
22
-
- Para rodar os tests de unidade, pode executar: ``python setup.py test``
'pointFormat': u'<span style="color:{point.color}">\u25CF </span>'+self._(u'País de origem de acesso') +': <strong>{point.name}</strong><br/>{series.name}: <strong>{point.value}</strong>'
0 commit comments