Go Back   OXID Community Forum > International Forums > Developers
Developers Feel free to discuss in this forum any technical issues you encounter when customizing the software code of OXID eShop.
Reply
 
Thread Tools Display Modes
#Top   #1  
Old 08-25-2009, 05:25 PM
chrism chrism is offline
Junior Member
Join Date: Aug 2009
Posts: 2
chrism is on a distinguished road
Default Unit Testing

I have noticed that although it is advertised that oxid has 94% code coverage with unit tests the unit tests don't actually come with the software, is there any way to get a hold of those?
Reply With Quote
#Top   #2  
Old 08-26-2009, 01:00 AM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Guide @ OXID
Join Date: Oct 2008
Posts: 5,180
Marco Steinhaeuser is on a distinguished road
Default AW: Unit Testing

Hi,

that's a quite interesting question. Let me figure that out and give me a a couple of days for it, alright?

Regards
Reply With Quote
#Top   #3  
Old 08-26-2009, 10:19 AM
MBa MBa is offline
Senior Member
Join Date: Jun 2009
Posts: 529
MBa is on a distinguished road
Default Re: AW: Unit Testing

Quote:
Originally Posted by Marco Steinhäuser View Post
Let me figure that out and give me a a couple of days for it, alright?
... perhaps its interesting to get the template test-units, too.
Reply With Quote
#Top   #4  
Old 08-26-2009, 04:30 PM
chrism chrism is offline
Junior Member
Join Date: Aug 2009
Posts: 2
chrism is on a distinguished road
Default Re: Unit Testing

Sounds great, get back to me when you know.
Reply With Quote
#Top   #5  
Old 08-26-2009, 05:32 PM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Guide @ OXID
Join Date: Oct 2008
Posts: 5,180
Marco Steinhaeuser is on a distinguished road
Default AW: Unit Testing

Hi,

see Erik's blog comment:
http://phpterror.wordpress.com/2009/...test-coverage/
Quote:
We will publish the unit tests sometime in the near feature.
Cheers
Reply With Quote
#Top   #6  
Old 08-26-2009, 11:01 PM
Machina non calculat Machina non calculat is offline
Senior Member
Join Date: Feb 2009
Posts: 140
Machina non calculat is on a distinguished road
Default AW: Unit Testing

Well dude,
make a video for the infidel, or use new cool skype feature: screenpresentation...
...and publish here

greetings
Magnus
(wanna have MOOOOOREEE Smilies!!!)
Reply With Quote
#Top   #7  
Old 08-28-2009, 12:40 AM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Guide @ OXID
Join Date: Oct 2008
Posts: 5,180
Marco Steinhaeuser is on a distinguished road
Default AW: Unit Testing

There are big huge discussions out there in the bloggosphere wrapped here:
http://www.websdeveloper.com/communi...d-corrections/
Reply With Quote
#Top   #8  
Old 08-28-2009, 02:27 PM
avenger's Avatar
avenger avenger is offline
Senior Member
Join Date: May 2009
Posts: 1,529
avenger is on a distinguished road
Default AW: Unit Testing

Quote:
Originally Posted by Marco Steinhäuser View Post
There are big huge discussions out there in the bloggosphere wrapped here:
http://www.websdeveloper.com/communi...d-corrections/
Apparently there are some "mighty cool" wise-guys heavily masturbating on that topic, arguing on the "Holy Grail" of PHP development.

I for my part can only compliment OXID AG on doing the code as it is!

Very pragmatic, but nevertheless well structured, and extensible.

So, as a developper, you have at least got a fair chance of understanding the system very quickly.

And, based on that, a good and competent developper community has risen around OXID in quite a short time.

Magento, for example, might well be closer to the theoretical "Holy Grail" model.

But this exactly is the problem: it is very, very hard to digest!

And even after 18 months there is no real developper comunity around (like it is normally the case with Open Source shop-systems like osc, xtc and Gambio, and now emerging with OXID).

Guess why!!

I am normally not afraid of anything when it comes to software, but I have thrown Magento into the waste-bin after one week, as it is much too complicated to work with.

And with better alternatives like OXID around, why should anybody care and waste his time with it?

The whole isssue is definitely not about the best designed software up to the latest super-duper standard.

But far more about practical shop-software (also from a developers point of view).

So, OXID AG, don't worry, be happy!

Your task is to please your users (what imo you do), and not some "mighty cool" heavily masturbating wise-guys...

Just switch into "ignore-mode", and keep on trucking...
__________________


Individuelle und hochwertige OXID 4 Templates und Shop-Erweiterungen gibt es bei http://www.powertemplate.de
  1. Dem Ingeniör ist nichts zu schwör (Daniel Düsentrieb, 1952)
  2. Geht nicht, gibt's nicht.
  3. Was nicht passt, wird passend gemacht
Weitere Informationen zum powertemplate.de Angebotsspektrum unter http://www.shopplaner.de

Cetereo censeo CSS-Templates sunt delendam.
Reply With Quote
#Top   #9  
Old 08-28-2009, 08:57 PM
MBa MBa is offline
Senior Member
Join Date: Jun 2009
Posts: 529
MBa is on a distinguished road
Default Re: AW: Unit Testing

Quote:
Originally Posted by avenger View Post
Apparently there are some "mighty cool" wise-guys heavily masturbating on that topic, arguing on the "Holy Grail" of PHP development.
I think the same... with other words.

This discussion is senseless for me. Just for read, laugh and forget. After I gone back to normal life.

It listen like somebody wanna design a new software, but working and creating the code should somebody other. Eg. oxid.

Anyway I don`t think that oxid goes actual to broken-by-design.
Maybe to much magic-values...

Go ahead in your way. If you do what some others wanted, then somebody other have critics.
But read critics and think about never can be wrong.

On the other side, what these guy do is not so bad.
Code-Reviews.
But only negative critic. Positiv examples will be great for learning, too.
For me in a code review will be nice if he describe how the necessary parts works.... maybe he do it if the unit-tests are public.

Last edited by MBa; 08-28-2009 at 09:13 PM.
Reply With Quote
#Top   #10  
Old 10-19-2009, 11:54 AM
MBa MBa is offline
Senior Member
Join Date: Jun 2009
Posts: 529
MBa is on a distinguished road
Default Re: AW: Unit Testing

Quote:
Originally Posted by Marco Steinhäuser View Post
Hi,

see Erik's blog comment:
http://phpterror.wordpress.com/2009/...test-coverage/


Cheers
Ok, I try to bring this thread again on Top.

Here is a Comment that there is maybe a possibility to make oxid a little faster.
The problem is, that nobody can check all possible mirror-effects and dependicies.

So I think a (unit-)testing is importand and should help to make better quality for 3rd-party-modules.
Remember, if a module crash, the owner of the shop think it was oxid.
__________________
Schöne Grüße/Regards,
Markus



If the only tool you have is a hammer, you tend to see every problem as a nail.
Reply With Quote
Reply

Bookmarks

Tags
testing, unit

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit Test Kenny Entwickler 2 06-07-2010 02:57 PM

OXID eSales Community Newsletter
View Who's Online Community Newsletter

All times are GMT +2. The time now is 04:28 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. © OXID eSales AG