Skip to content

Commit

Permalink
Merge pull request #25 from ibrahimgunduz34/refactoring_15092701
Browse files Browse the repository at this point in the history
Refactoring 15092701
  • Loading branch information
ibrahimgunduz34 committed Sep 27, 2015
2 parents 766a0bb + e8bc9db commit 100100c
Show file tree
Hide file tree
Showing 9 changed files with 266 additions and 212 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -2,4 +2,5 @@
vendor
*.lock
tests/testresults/
.DS_Store
.DS_Store
*.swp
36 changes: 0 additions & 36 deletions README.md
Expand Up @@ -15,40 +15,4 @@ $ composer require ibrahimgunduz34/payuclient:dev-master

Entegrasyon detayları ile ilgili dökümanları [buraya tıklayarak](/docs/index.md) inceleyebilirsiniz.

# Unit Test'lerin Çalıştırılması
Unit testleri çalıştırmak için sisteminizde [PHPUnit](https://phpunit.de) kurulu olmalıdır.

PHPUnit'i çalıştırılabilir PHP Arşiv Paketi (PHAR) halinde kurmak için:

```
$ wget https://phar.phpunit.de/phpunit.phar
$ chmod +x phpunit.phar
$ mv phpunit.phar /usr/local/bin/phpunit
```

veya Mac OS X kullanıcısı iseniz [Homebrew](http://brew.sh/) yardımıyla kurmak için:

```
$ brew update
$ brew install phpunit
```

komutlarını vermeniz yeterlidir. Kurulum sonrası unit testleri çalıştırmak için aşağıdaki komutu verebilirsiniz:

```
$ cd /path/to/payuclient
$ phpunit -c tests/phpunit.xml
PHPUnit 3.7.38 by Sebastian Bergmann.
Configuration read from payuclient/tests/phpunit.xml
........................
Time: 1.58 seconds, Memory: 6.75Mb
OK (24 tests, 27 assertions)
```

---

Katkıda bulunan geliştiriciler için [buraya tıklayınız](/docs/contributors.md)
33 changes: 33 additions & 0 deletions docs/birim_testlerin_calistirilmasi.md
@@ -0,0 +1,33 @@
# Birim Testlerin Çalıştırılması
Birim testleri çalıştırmak için sisteminizde [PHPUnit](https://phpunit.de) kurulu olmalıdır.

PHPUnit'i çalıştırılabilir PHP Arşiv Paketi (PHAR) halinde kurmak için:

```
$ wget https://phar.phpunit.de/phpunit.phar
$ chmod +x phpunit.phar
$ mv phpunit.phar /usr/local/bin/phpunit
```

veya Mac OS X kullanıcısı iseniz [Homebrew](http://brew.sh/) yardımıyla kurmak için:

```
$ brew update
$ brew install phpunit
```

komutlarını vermeniz yeterlidir. Kurulum sonrası unit testleri çalıştırmak için aşağıdaki komutu verebilirsiniz:

```
$ cd /path/to/payuclient
$ phpunit -c tests/phpunit.xml
PHPUnit 3.7.38 by Sebastian Bergmann.
Configuration read from payuclient/tests/phpunit.xml
........................
Time: 1.58 seconds, Memory: 6.75Mb
OK (24 tests, 27 assertions)
```
5 changes: 3 additions & 2 deletions docs/contributors.md
@@ -1,4 +1,5 @@
# Katkıda Bulunan Geliştiriciler
* [Coşkun Soysal](https://github.com/coskun-zingat)
* [Fatih Gürsoy](https://github.com/fg)
* [İbrahim Gündüz](http://github.com/ibrahimgunduz34)
* [Coşkun Soysal](http://github.com/coskun-zingat)
* [İbrahim Gündüz](https://github.com/ibrahimgunduz34)
* [Yılmaz Süslü](https://github.com/edigu)
9 changes: 6 additions & 3 deletions docs/index.md
@@ -1,6 +1,9 @@
# İçindekiler
* [Peşin Satış](/docs/pesin_satis.md)
* [Taksitli Satış](/docs/taksitli_satis.md)
* [Satış](/docs/satis.md)
* [Peşin Satış](docs/satis.md#pesin-satis)
* [Taksitli Satış](/docs/satis.md#taksitli-satis)
* [Tekrarlayan Ödeme](/docs/satis.md#tekrarlayan-odeme)
* [Puan Sorgulama] (/docs/puan_sorgulama.md)
* [Puan Kullanımı] (/docs/puan_kullanimi.md)
* API Referans Dökümanı
* API Referans Dökümanı
* [Birim Testlerin Çalıştırılması](/docs/birim_testlerin_calistirilmasi.md)
141 changes: 0 additions & 141 deletions docs/pesin_satis.md

This file was deleted.

0 comments on commit 100100c

Please sign in to comment.